-
Notifications
You must be signed in to change notification settings - Fork 2
/
video_playback.html
70 lines (63 loc) · 1.93 KB
/
video_playback.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style_video_playback.css">
<script src="video_playback.js"></script>
</head>
<body>
<header>
<h1>Youtube History Caption Search</h1>
</header>
<div class="container">
<div class="filter-box">
<div class="filter-header">
<h2>Filters</h2>
<button class="hide-button">Hide</button>
</div>
<ul class="filter-list">
</ul>
</div>
<div class="search-box">
<p id="search-for-moments">Search for moments</p>
<div class="search-bar">
<input type="text" id="search-input" placeholder="Search in captions">
<button class="search-button"><img src="magnifying-glass.png"></button>
</div>
<div class="video-captions-container">
<div class="video-container">
<div class="video-frame">
<!-- Embedded YouTube video goes here -->
</div>
</div>
<div class="captions-box">
<div class="captions-container">
<ul class="captions-list">
<!-- Captions retrieved in JavaScript will be dynamically added here -->
</ul>
</div>
<p id="number-of-captions" class="number-of-captions"></p>
<button class="hide-captions-button">Hide</button>
</div>
</div>
</div>
<div class="results-container">
<div class="results-header">
<h2>Results</h2>
<div class="dropdown">
<button class="dropbtn">Sort by</button>
<div class="dropdown-content">
<a href="#">Name</a>
<a href="#">Clip count</a>
<a href="#">Date</a>
</div>
</div>
</div>
<div class="video-list">
<ul>
<!-- List of videos that match the searched captions will be dynamically added here -->
</ul>
</div>
</div>
</div>
</body>
</html>