-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
video.html
140 lines (133 loc) · 6.38 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en" lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Music Bagus </title>
<meta charset="UTF-8">
<meta name="description" content="Personal Website Article">
<meta name="keyword" content="Brodol Music">
<meta name="author" content="Bagus Budi Satoto">
<!-- icondan impor -->
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="css/video.css">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Outlined" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Round" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Sharp" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Two+Tone" rel="stylesheet">
</head>
<body class="body" id="body">
<!-- <div id="preloader"></div> -->
<div class="wrapper" id="wrapper">
<div class="top-bar">
<a id="fullscr"><i class="material-icons-outlined" class="material-icons">expand_more</i> </a>
<!-- untuk toggle -->
<span>
<div class="list-container">
<li><a href="index.html">Home</a></li>
<li><a href="music.html">Music</a></li>
<li><a href="video.html">Video</a></li>
</div>
<div class="btn-container">
<label class="switch btn-color-mode-switch" id="toggle" onclick="toogle()">
<input type="checkbox" name="color_mode" id="color_mode" value="1" checked>
<label for="color_mode" data-on="Video" data-off="Music"
class="btn-color-mode-switch-inner"> </label>
</label>
</div>
</span>
<a href="javascript:alert('Music app by bagussatoto')" onclick="Darkmode()">
<i><img class="imghead" src="images/logoutama.webp" style="width: 50px;"></i></a>
</div>
<div class="flex-main">
<div class="flex-img-detail transition-swipe">
<div class="img-area">
<video poster="" src="" alt="">
</div>
</div>
<div class="flex-progress-control">
<div class="song-details">
<p class="name"></p>
<p class="artist"></p>
</div>
<div class="progress-area" id="progress-area">
<div class="progress-bar" id="progsess-bar">
<!-- <audio id="main-audio" src=""></audio> -->
</div>
<div class="song-timer">
<span class="current-time">0:00</span>
<span class="max-duration">0:00</span>
</div>
</div>
<div class="controls" id="controls">
<i id="repeat-plist" class="material-icons" title="Playlist looped">repeat</i>
<i id="prev" class="material-icons">skip_previous</i>
<div class="play-pause">
<i class="material-icons play">play_arrow</i>
</div>
<i id="next" class="material-icons">skip_next</i>
<i id="more-music" class="material-icons">queue_music</i>
</div>
<div id="music-list">
<div class="header">
<div class="row">
<i class="list material-icons">queue_music</i>
<span>Music list</span>
</div>
<i id="close" class="material-icons">close</i>
</div>
<ul>
<!-- here li list are coming from js -->
</ul>
</div>
</div>
</div>
</div>
<script src="js/video-list.js"></script>
<script src="js/script-video.js"></script>
<!-- Disini untuk java scripnya -->
<!-- dark mode -->
<!-- untuk boody dark -->
<script>
function Darkmode() {
var element = document.getElementById("wrapper");
element.classList.toggle("wrapper-dark");
var element = document.getElementById("body");
element.classList.toggle("body-dark");
var element = document.getElementById("progress-area");
element.classList.toggle("progress-area-dark");
}
// progress-area
</script>
<!--------------------------- ini buat Fullscreen-------------------------------------------- -->
<script>
/* Fullscreen btn */
let fullscreen;
let fsEnter = document.getElementById('fullscr');
fsEnter.addEventListener('click', function (e) {
e.preventDefault();
if (!fullscreen) {
fullscreen = true;
document.documentElement.requestFullscreen();
} else {
fullscreen = false;
document.exitFullscreen();
}
});
</script>
<!--------------------------- ini buat Fullscreen-------------------------------------------- -->
<script>
function toogle() {
var log_out = confirm;
var bx =
document.getElementById("toggle");
if (window.open("music.html", "_top"));
}
</script>
<script defer src="js/all.js"></script>
</body>
</html>