-
Notifications
You must be signed in to change notification settings - Fork 0
/
recvid.html
110 lines (103 loc) · 4.29 KB
/
recvid.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/stylesheet.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
</head>
<body style="background-color:#fafaff">
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<a class="navbar-brand" href="index.html" style="font-family:cursive">
<img src="img/logo.png" alt="logo" style="width:40px;">
Wandoof
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarNavDropdown" class="navbar-collapse collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="recvid.html">Recipe Video</a>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<form class="form-inline">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" name="search">
<div class="input-group-btn">
<button class="btn btn-info" type="submit"><img src="img/search1.png" style="width:20px;height:20px;"></button>
</div>
</div>
</form>
</li>
<li class="nav-item active">
<a class="nav-link" href="contact.html">Contact <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="profile.php">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.php">Signout</a>
</li>
</ul>
</div>
</nav>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="javascript:void(0)" id="chinese" onclick="changeurl(this.id)">Chinese</a>
<a href="javascript:void(0)" id="continental" onclick="changeurl(this.id)">Continental</a>
<a href="javascript:void(0)" id="chicken" onclick="changeurl(this.id)">Chicken</a>
<a href="javascript:void(0)" id="southindian" onclick="changeurl(this.id)">SouthIndian</a>
</div>
<div id="main">
<span style="font-size:30px;cursor:pointer" onclick="openNav()">☰</span>
</div>
<div class="card" style="color:white;width:1000px;background-color:black;height:650px;margin-top:0px;position:relative;top:0px;">
<div class="card-body">
<center><h2>Chinese</h2><br>
<iframe width="720" height="480" id="vid" src="https://www.youtube.com/embed/ZIshiEEgKIc?autoplay=1">
</iframe></center>
<hr>
</div>
</div>
</div>
<br>
<br>
<footer style="background-color:#262626;color:white;height:50px;text-align:center;">
<p>Copyright(c) website name.
Designed by:SHASHANK VERMA</p>
</footer>
<script>
function openNav() {
document.getElementById("mySidenav").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
document.body.style.backgroundColor = "rgba(0,0,0,0.4)";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
document.getElementById("main").style.marginLeft= "0";
document.body.style.backgroundColor = "white";
}
function changeurl(i){
var u=""
if(i=="chinese")
u="https://www.youtube.com/embed/ZIshiEEgKIc?autoplay=1";
if(i=="continental")
u="https://www.youtube.com/embed/4q8GwxethQ0?autoplay=1";
if(i=="chicken")
u="https://www.youtube.com/embed/RR-Gaq0TDv4?autoplay=1";
if(i=="southindian")
u="https://www.youtube.com/embed/4ojcs8KKGvQ?autoplay=1";
document.getElementById("vid").src=u;
}
</script>
</body>
</html>