-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (24 loc) · 719 Bytes
/
index.html
File metadata and controls
30 lines (24 loc) · 719 Bytes
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
<html>
<head>
<title>HEVOSEN PÄÄ</title>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdn.plyr.io/3.7.8/plyr.css" />
</head>
<body>
<video id="videoplayer" playsinline controls data-poster="hevonen.jpg">
<source src="horse_loop.mp4" type="video/mp4" />
<source src="horse_loop.webm" type="video/webm" />
</video>
<audio id="audioplayer" controls>
<source src="hevonen.mp3" type="audio/mp3" />
</audio>
</div>
<script src="https://cdn.plyr.io/3.7.8/plyr.js"></script>
<script>
const players = Plyr.setup('videoplayer, audioplayer');
// Expose player so it can be used from the console
window.player = player;
</script>
</body>
</html>