-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsecond.html
More file actions
120 lines (111 loc) · 3.7 KB
/
second.html
File metadata and controls
120 lines (111 loc) · 3.7 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 name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouTube Clone</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Custom styling */
.video-container {
width: 100%;
height: 400px;
background-color: #000;
}
.video-thumbnail {
width: 100%;
height: auto;
}
.sidebar {
max-height: 100vh;
overflow-y: auto;
}
.video-title {
font-size: 1.1rem;
font-weight: bold;
margin-top: 0.5rem;
}
.video-description {
font-size: 0.9rem;
color: #6c757d;
}
.header-logo {
font-size: 1.5rem;
font-weight: bold;
color: #ff0000;
}
.navbar-brand {
margin-right: 1rem;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand header-logo" href="#">YouTube</a>
<form class="d-flex w-50 mx-auto">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-secondary" type="submit">Search</button>
</form>
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#"><i class="bi bi-person"></i> Account</a>
</li>
</ul>
</div>
</nav>
<!-- Main content -->
<div class="container mt-3">
<div class="row">
<!-- Main video section -->
<div class="col-lg-8">
<div class="video-container mb-3">
<!-- Placeholder for main video -->
<img src="https://via.placeholder.com/800x400" class="video-thumbnail" alt="Main Video">
</div>
<h2 class="video-title">Video Title Example</h2>
<p class="video-description">1M views • 1 day ago</p>
<p>Here goes the description of the video. This is a simple video page layout like YouTube using HTML and Bootstrap.</p>
</div>
<!-- Sidebar with suggested videos -->
<div class="col-lg-4 sidebar">
<!-- Suggested video -->
<div class="row mb-3">
<div class="col-6">
<img src="https://via.placeholder.com/160x90" class="video-thumbnail" alt="Thumbnail">
</div>
<div class="col-6">
<h5 class="video-title">Suggested Video 1</h5>
<p class="video-description">500K views • 2 days ago</p>
</div>
</div>
<!-- Suggested video -->
<div class="row mb-3">
<div class="col-6">
<img src="https://via.placeholder.com/160x90" class="video-thumbnail" alt="Thumbnail">
</div>
<div class="col-6">
<h5 class="video-title">Suggested Video 2</h5>
<p class="video-description">400K views • 3 days ago</p>
</div>
</div>
<!-- Suggested video -->
<div class="row mb-3">
<div class="col-6">
<img src="https://via.placeholder.com/160x90" class="video-thumbnail" alt="Thumbnail">
</div>
<div class="col-6">
<h5 class="video-title">Suggested Video 3</h5>
<p class="video-description">600K views • 1 week ago</p>
</div>
</div>
<!-- Add more suggested videos as needed -->
</div>
</div>
</div>
<!-- Bootstrap JS and Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>