-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSearchVideos.html
More file actions
55 lines (42 loc) · 1.62 KB
/
SearchVideos.html
File metadata and controls
55 lines (42 loc) · 1.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouTube Video List</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>📺 YouTube Video List</h1>
<!-- Input to dynamically load JSON -->
<div class="controls">
<input type="text" id="placeholderInput" placeholder="Enter channel name & press Enter">
</div>
<div class="video-count">
Showing <span id="filteredCount">0</span> of <span id="totalCount">0</span> videos | Total Time: <span
id="totalDuration">0</span> min
</div>
<!-- Search & Filters -->
<div class="controls">
<input type="text" id="searchInput" placeholder="Search by Title">
<select id="sortOption">
<option value="none">None</option>
<option value="upload_date">Sort By: Upload Date (Default)</option>
<option value="comments">Sort By: Comments</option>
<option value="views">Sort By: Views</option>
</select>
</div>
<!-- Video Categories -->
<h2>0-15 min</h2>
<div class="category-row" id="videoList_0_15"></div>
<h2>15-30 min</h2>
<div class="category-row" id="videoList_15_30"></div>
<h2>30 min - 1 hr</h2>
<div class="category-row" id="videoList_30_60"></div>
<h2>1 hr - 5 hr</h2>
<div class="category-row" id="videoList_60_300"></div>
<h2>> 5 hr</h2>
<div class="category-row" id="videoList_300_plus"></div>
<script src="scripts.js"></script>
</body>
</html>