-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (40 loc) · 1.72 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouTube Playlist Analyzer</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="card">
<h1>YouTube Playlist Analyzer</h1>
<p>Enter the YouTube playlist URL:</p>
<div class="input">
<div class="textInputWrapper">
<input id="playlistUrl" onfocus="this.value=''" placeholder="youtube.com/playlist?list=ID" type="text" class="textInput">
</div>
<p class ="small">*works perfectly with playlists with less than 50 videos</p>
<button onclick="analyzePlaylist()" id="analyzeButton">Analyze</button>
</div>
</div>
<div class="card result" id="result1">
<p>Playlist Name:</p> <div><span id="playlistName"></div></span>
<p>Number of Videos: </p><div><span id="numVideos"></div></span>
<p>Average Length of Video: </p><div> <span id="avgVideoLength"></div> </span>
<p>Total Time: </p> <div><span id="totalTime"></div> </span>
<p>Playback Speed:
<span class="custom-select">
<select id="playbackSpeed">
<option value="1.25">1.25x</option>
<option value="1.5">1.5x</option>
<option value="1.75">1.75x</option>
<option value="2">2x</option>
</select></span>
</p>
<p><div><span id="adjustedTime"></div></span></p>
</div>
<footer><center><div class="small">made with ❤️ by <a href="https://imvbh.netlify.app">imvbh</a></div></center></footer>
<script src="script.js"></script>
</body>
</html>