-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (101 loc) · 3.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="styles.css" />
<title>Los Angeles Drive GTA-5</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="overflow-hidden relative bg-black">
<div
class="video-background opacity-0 fixed inset-0 transition-opacity duration-1000 ease-in-out"
>
<div class="video-foreground">
<div id="youtube-player" style="width: 640px; height: 360px">
<div style="width: 100%; height: 100%">
<iframe
frameborder="0"
allowfullscreen
allow="autoplay; encrypted-media"
title="Los Angeles 4K - Night Drive"
width="130%"
height="100%"
src="https://www.youtube.com/embed/D_4S4mT3xG0?rel=0&autoplay=1&controls=0&loop=1&playlist=D_4S4mT3xG0&showinfo=0&modestbranding=1&playsinline=1"
id="widget2"
></iframe>
</div>
</div>
</div>
</div>
<audio id="audio" autoplay loop>
<source src="Modjo-Lady.mp3" type="audio/mpeg" />
</audio>
<div
class="overlay absolute inset-0 flex justify-center items-center z-10 mt-20"
>
<a href="index2.html">
<h1
class="text-2xl font-bold text-white bg-opacity-50 bg-gray-800 p-3 rounded-lg backdrop-blur-md"
>
Los Santos Gta-5
</h1>
</a>
</div>
<div
class="fixed bottom-4 right-4 flex flex-col items-center space-y-2 bg-gray-800 bg-opacity-75 p-3 rounded-lg shadow-lg"
>
<div class="flex space-x-2">
<button
id="playButton"
aria-label="Play"
class="w-10 h-10 bg-cyan-500 rounded-full text-white flex items-center justify-center shadow-lg hidden"
>
🔇
</button>
<button
id="pauseButton"
aria-label="Pause"
class="w-10 h-10 bg-cyan-500 rounded-full text-white flex items-center justify-center shadow-lg"
>
🔊
</button>
</div>
<div class="flex items-center space-x-2">
<span class="text-white text-sm">Volume</span>
<input
type="range"
id="volume"
min="0"
max="1"
step="0.01"
value="1"
class="appearance-none w-24 h-2 bg-gray-300 rounded-full cursor-pointer"
/>
</div>
</div>
<div
class="fixed top-4 right-4 bg-gray-800 bg-opacity-75 p-4 rounded-lg shadow-lg"
>
<div class="flex flex-col items-end space-y-1">
<div class="flex items-center space-x-1">
<span
class="text-white text-lg font-semibold"
id="currentDate"
></span>
</div>
<div class="flex items-center space-x-1">
<span class="text-white text-sm" id="currentTime">0:00</span>
</div>
<div class="flex items-center space-x-1">
<span class="text-white text-sm" id="weather">🌆 75°F </span>
<span class="text-white text-sm font-semibold" id="location"
>Los Angeles</span
>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>