-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
84 lines (80 loc) · 4.43 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
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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Moovie Demo</title>
<meta name="description" content="An advanced HTML5 video player for MooTools.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://unpkg.com/moovie/dist/moovie.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
<style>
.moovie {
position: relative;
top: auto;
bottom: auto;
left: auto;
right: auto;
transform: none;
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>Moovie Demo</h1>
<p>
You are viewing the demo for version:
<a href="https://badge.fury.io/js/moovie">
<img src="https://badge.fury.io/js/moovie.png" alt="npm version" height="18">
</a>
</p>
</header>
<section>
<video id="trailers" src="videos/avatar-trailer.mp4" poster="img/avatar-official-poster.jpg" controls>
<track kind="subtitles" src="subs/avatar-trailer.vtt" srclang="en" label="Avatar (2009).vtt">
<track kind="subtitles" src="subs/avatar-trailer.srt" srclang="en" label="Avatar (2009).srt">
</video>
<ul>
<li><a href="https://github.com/moovie/moovie" rel="external">Source</a></li>
<li><a href="https://github.com/moovie/moovie/wiki" rel="external">Wiki</a></li>
<li><a href="https://github.com/moovie/moovie/issues" rel="external">Found an Issue?</a></li>
<li><a href="https://github.com/moovie/moovie/blob/master/CONTRIBUTING.md" rel="external">Want to Contribute?</a></li>
<li><a href="https://github.com/moovie/moovie/wiki/Roadmap" rel="external">Roadmap</a></li>
</ul>
</section>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mootools/1.6.0/mootools-core.min.js"></script>
<script>
window.MooTools || document.write('<script src="js/vendor/mootools-core-1.6.0.min.js"><\/script>')
</script>
<script src="https://unpkg.com/moovie?main=browser"></script>
<script>window.Moovie || document.write('<script src="js/vendor/moovie-0.8.0.min.js"><\/script>')</script>
<script>
var instance = new Moovie('trailers', {
debugger: true,
controls: { autohide: false },
summary: 'A paraplegic marine dispatched to the moon Pandora on a unique mission becomes torn between following his orders and protecting the world he feels is his home.',
poster: 'http://ia.media-imdb.com/images/M/MV5BMTYwOTEwNjAzMl5BMl5BanBnXkFtZTcwODc5MTUwMw@@._V1_UX182_CR0,0,182,268_AL_.jpg',
playlist: [
{
src: 'http://colinaarts.com/assets/alice.ogv',
title: 'Alice in Wonderland',
poster: 'http://ia.media-imdb.com/images/M/MV5BMTMwNjAxMTc0Nl5BMl5BanBnXkFtZTcwODc3ODk5Mg@@._V1_UX182_CR0,0,182,268_AL_.jpg',
summary: 'Nineteen-year-old Alice returns to the magical world from her childhood adventure, where she reunites with her old friends and learns of her true destiny: to end the Red Queen\'s reign of terror.'
},
{
src: 'http://colinaarts.com/assets/shrek.ogv',
title: 'Shrek Forever After',
poster: 'http://ia.media-imdb.com/images/M/MV5BMTY0OTU1NzkxMl5BMl5BanBnXkFtZTcwMzI2NDUzMw@@._V1_UX182_CR0,0,182,268_AL_.jpg',
summary: 'Rumpelstiltskin tricks a mid-life crisis burdened Shrek into allowing himself to be erased from existence and cast in a dark alternate timeline where Rumpel rules supreme.'
}
]
});
</script>
</body>
</html>