-
Notifications
You must be signed in to change notification settings - Fork 0
/
video.html
76 lines (64 loc) · 3.26 KB
/
video.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Video Play System</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Header Section -->
<header class="header">
<div class="logo">RUSOSKA</div>
<div class="search-bar">
<input type="text" placeholder="Search..." id="searchInput">
<span class="search-icon" onclick="searchFunction()">🔍</span>
</div>
<div class="menu-icon" onclick="openDrawer()">☰</div>
</header>
<!-- Drawer Menu -->
<div id="drawer" class="drawer">
<span class="close-btn" onclick="closeDrawer()">×</span>
<a href="home.html">Home</a>
<a href="#">New</a>
<a href="#">Trending</a>
<a href="#">Categories</a>
</div>
<div id="overlay" class="overlay" onclick="closeDrawer()"></div>
<!-- Video Player Section -->
<section class="video-player">
<div class="video-container">
<iframe id="videoIframe" allowfullscreen></iframe>
<div class="pop-out-button"><svg height="35px" width="35px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 58 58" xml:space="preserve" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <circle style="fill:#ff0000;" cx="29" cy="29" r="29"></circle> <g> <polygon style="fill:#FFFFFF;" points="44,29 22,44 22,29.273 22,14 "></polygon> <path style="fill:#FFFFFF;" d="M22,45c-0.16,0-0.321-0.038-0.467-0.116C21.205,44.711,21,44.371,21,44V14 c0-0.371,0.205-0.711,0.533-0.884c0.328-0.174,0.724-0.15,1.031,0.058l22,15C44.836,28.36,45,28.669,45,29s-0.164,0.64-0.437,0.826 l-22,15C22.394,44.941,22.197,45,22,45z M23,15.893v26.215L42.225,29L23,15.893z"></path> </g> </g></svg></div>
</div>
</section>
<footer class="footer">
<p>© 2024 RUSOSKA. All rights reserved.</p>
<a href="#">Contact Us</a>
<a href="#">Privacy Policy</a>
</footer>
<script>
// পেজ লোড হলে ভিডিও লোড হবে
document.addEventListener('DOMContentLoaded', function() {
const urlParams = new URLSearchParams(window.location.search);
const videoId = urlParams.get('video');
if (videoId) {
const iframe = document.getElementById('videoIframe');
iframe.src = `https://drive.google.com/file/d/${videoId}/preview`;
}
});
function openDrawer() {
document.getElementById("drawer").style.width = "250px";
document.getElementById("overlay").style.display = "block";
}
function closeDrawer() {
document.getElementById("drawer").style.width = "0";
document.getElementById("overlay").style.display = "none";
}
function searchFunction() {
const query = document.getElementById("searchInput").value;
alert("Search function not implemented. You searched for: " + query);
}
</script>
</body>
</html>