-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlunaSubDemo.html
29 lines (27 loc) · 1.08 KB
/
lunaSubDemo.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Subtitle Video Overlay Demo</title>
<script src="https://use.typekit.net/asw3wve.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
<link type="text/css" rel="stylesheet" href="webbums.css">
</head>
<body>
<center>
<h1>Subtitle Video Overlay Demo</h1>
<div style="position: relative; display: inline;">
<iframe width="1280" height="720" src="https://www.youtube.com/embed/butibDkXZL4?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen id="youtube"></iframe>
<video src="https://my.mixtape.moe/hvovcu.webm" height="720" id="overlay"/>
</div>
<h2 style="margin-bottom: 0px;margin-top: 0px">Works best in Chrome</h2>
<h3 style="margin-top: 0px">And by that I mean probably <i>only</i> works in Chrome</h3>
</center>
<script>
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
</script>
</body>
</html>