-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreview.html
More file actions
120 lines (117 loc) · 3.5 KB
/
preview.html
File metadata and controls
120 lines (117 loc) · 3.5 KB
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
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<style>
#basic-addon1{
cursor: pointer;
}
.navbardiv{
width: 70%;
margin: auto;
}
#logo{
margin-right: 15px;
}
.maindiv{
width: 90%;
margin: auto;
margin-top: 50px;
display: flex;
justify-content: space-between;
}
.videodiv{
width: 60%;
}
.recomend{
width: 38%;
}
.recomend>div{
height: 120px;
width: 100%;
display: flex;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
margin:10px 0px;
}
#img{
height: 100%;
width: 35%;
}
#thumb{
height: 100%;
width: 100%;
}
#title{
height: 100%;
width: 65%;
font-size: 0.8em;
padding: 5px;
word-wrap: wrap;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#title>p{
font-weight: 300;
}
@media only screen and (min-width:0px) and (max-width:380px){
.maindiv{
flex-direction: column;
}
.videodiv{
width: 100%;
height: 50;
}
.recomend{
width: 100%;
}
#ifrem{
height: 100px;
}
}
@media only screen and (min-width:381px) and (max-width:780px){
.maindiv{
flex-direction: column;
}
.videodiv{
width: 100%;
}
.recomend{
width: 100%;
}
#ifrem{
height: 300px;
}
}
</style>
</head>
<body>
<div class="navbardiv">
<nav class="navbar navbar-light bg-light">
<form class="container">
<div class="input-group">
<h3 id="logo" onclick="window.location.href = 'index.html'">Sunil Youtube</h3>
<input type="text" class="form-control" placeholder="Search" aria-label="Username" aria-describedby="basic-addon1" id="search">
<span class="input-group-text" id="basic-addon1" onclick="window.location.href = 'index.html'">SEARCH</span>
</div>
</form>
</nav>
</div>
<div class="maindiv">
<div class="videodiv" id="videodiv">
<iframe width="100%" height="450px" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen id="ifrem"></iframe>
</div>
<div class="recomend" id="recomend">
<div>
<div id="img"></div>
<div id="title"></div>
</div>
</div>
</div>
</body>
</html>
<script src="preview.js"></script>