-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
113 lines (98 loc) · 5.47 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="MeTube - Explore, watch, and fetch details about YouTube videos all in one place. Access video information, related content, and more with ease.">
<meta name="keywords" content="MeTube, YouTube video search, watch YouTube videos, video information, video data, video details, video player, explore videos">
<meta name="author" content="MeTube Team">
<meta property="og:title" content="MeTube - Watch and Explore YouTube Videos">
<meta property="og:description" content="MeTube allows you to watch YouTube videos and fetch details like description, views, and related videos.">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="MeTube - Watch YouTube Videos and Fetch Information">
<meta name="twitter:description" content="Watch YouTube videos and discover in-depth details with MeTube.">
<title>MeTube - Watch and Explore YouTube Videos</title>
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/site.webmanifest">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar">
<h1 class="heading">MeTube</h1>
<div class="search-container">
<input type="text" id="searchInput" placeholder="Search for Video">
<button id="searchButton" onclick="searchVideos()">Search</button>
</div>
<button id="toggleDarkModeButton" onclick="toggleDarkMode()">
<span id="darkModeIcon" class="material-symbols-outlined">dark_mode</span>
</button>
</nav>
<div id="filterButtons" class="filter-buttons">
<button onclick="searchVideos('all')" class="filter-btn">All</button>
<button onclick="searchVideos('sports')" class="filter-btn">Sports</button>
<button onclick="searchVideos('entertainment')" class="filter-btn">Entertainment</button>
<button onclick="searchVideos('music')" class="filter-btn">Music</button>
<button onclick="searchVideos('news')" class="filter-btn">News</button>
<button onclick="searchVideos('gaming')" class="filter-btn">Gaming</button>
<button onclick="searchVideos('comedy')" class="filter-btn">Comedy</button>
</div>
<div class="video-section">
<div class="left-content">
<div class="video-container">
<div id="videoWrapper">
<iframe id="videoPlayer" src="" frameborder="0" allowfullscreen></iframe>
</div>
<h2 id="videoTitle" class="video-title"></h2>
</div>
</div>
<div class="right-content">
<div class="cdButtons">
<button id="toggleDescriptionButton" onclick="toggleDescription()">
<span class="material-symbols-outlined">Description</span>
</button>
<button id="toggleCommentButton" onclick="showComments()">
<span class="material-symbols-outlined">Comment</span>
</button>
</div>
<div class="description-comment-section">
<div class="description-container" id="descriptionContainer">
<p id="videoDescription"></p>
</div>
<div class="comment-container" id="commentContainer">
</div>
</div>
</div>
</div>
<div id="searchResults" class="search-results"></div>
<footer style="background-color: #b30b0b; color: #ffffff; padding: 20px 0; text-align: center;">
<div style="max-width: 1200px; margin: 0 auto;">
<div style="margin-bottom: 10px;">
<p style="margin: 0; font-size: 1.2em;">© MeTube</p>
<p style="margin: 0;">All rights reserved</p>
</div>
<div style="margin-top: 10px;">
<a href="#" style="color: #ffffff; margin: 0 10px; text-decoration: none;">Privacy Policy</a>
<a href="#" style="color: #ffffff; margin: 0 10px; text-decoration: none;">Terms of Service</a>
<a href="#" style="color: #ffffff; margin: 0 10px; text-decoration: none;">Contact Us</a>
</div>
<div style="margin-top: 20px;">
<a href="https://facebook.com" target="_blank" style="color: #ffffff; margin: 0 5px; text-decoration: none;">
<img src="./assets/facebook.png" alt="facebook logo" height="2%" width="2%">
</a>
<a href="https://twitter.com" target="_blank" style="color: #ffffff; margin: 0 5px; text-decoration: none;">
<img src="./assets/twitter.png" alt="x logo" height="2%" width="2%">
</a>
<a href="https://instagram.com" target="_blank" style="color: #ffffff; margin: 0 5px; text-decoration: none;">
<img src="./assets/instagram.png" alt="instagram logo" height="2%" width="2%">
</a>
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>