-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMEDIA.html
59 lines (59 loc) · 2.03 KB
/
MEDIA.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
<html>
<head>
<script type="text/javascript" src="media.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
text-align: center;
font-family: Inter;
}
button {
padding: 2px;
background-color: lightgrey;
width: 25%;
border-radius: 5px;
height: 75px;
}
input[type='file'] {
font-size: 0;
padding: 0px;
}
input:hover {
background-color: #1d1d1d;
}
.div {
text-align: left;
background: #3e3e3e;
padding: 0;
height: 23px;
}
#samplevid {
margin: auto;
width: 75%;
}
::file-selector-button { font-size: initial; color: white; background: #333333; border: white solid 1px; float: right; height: 23px;}
.menubutton { font-size: initial; color: white; background: #333333; border: white solid 1px; height: 23px; border-radius: 0px; float: left; width: 125px; padding: 0;}
#left {float: left;}
#right {float: right;}
.menubutton:hover {
background-color: #1d1d1d;
}
</style>
</head>
<body id="body" style="background-color: white;">
<section style="height: 615px; ">
<div class="div"><input type="file" accept="video/*" onchange="custom_video(event)">
<button onclick="loadlink()" class="menubutton">Load From Link</button></div>
<div class="content"><video src="" id="mediavid" controls style="border-radius: 0px 0px 5px 5px; border: black solid 0px; width: 100%; height: 300; background-color: black;"></video>
<br><br><br>
<h1>Preset video</h1><br>
<div id="samplevid">
<button onclick="vid1()" id="left">Morshu RTX Finds Diamond.MP4</button>
<button onclick="vid2()" id="right">Sigma.MP3</button>
<button onclick="vid3()" id="left">BDP SMP TOUR.MP4</button>
<button onclick="vid4()" id="right">Morning Bells - Meme Forest OST.WAV</button>
</div>
</body>
</html>