forked from tapioca24/videojs-logo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (43 loc) · 1.41 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>videojs-logo Demo</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/video-js.min.css" rel="stylesheet">
<link href="dist/videojs-logo.css" rel="stylesheet">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: #27384b;
}
a {
color: #edba13;
font-weight: bold;
}
</style>
</head>
<body>
<h1>videojs-logo demo</h1>
<video-js id="videojs-logo-player" class="vjs-default-skin vjs-fluid vjs-16-9" autoplay controls>
<source src="//vjs.zencdn.net/v/oceans.mp4" type='video/mp4'>
<source src="//vjs.zencdn.net/v/oceans.webm" type='video/webm'>
</video-js>
<ul>
<li><a href="docs/api/">Read generated docs.</a></li>
</ul>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/video.min.js"></script>
<script src="dist/videojs-logo.js"></script>
<script>
(function(window, videojs) {
var examplePlayer = window.examplePlayer = videojs('videojs-logo-player');
var logo = window.logo = examplePlayer.logo({
image: 'img/videojs-logo-transparent.png',
position: "bottom-right",
url: 'https://github.com/tapioca24/videojs-logo',
width: 80,
fadeDelay: null
});
}(window, window.videojs));
</script>
</body>
</html>