-
Notifications
You must be signed in to change notification settings - Fork 0
/
mep-progress-1.html
69 lines (42 loc) · 2.09 KB
/
mep-progress-1.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
<!doctype html><html><meta charset="utf-8" />
<base href="../mediaelement-ry1/" />
<title>*HTML5 MediaElement</title>
<script src="build/jquery.js"></script>
<script src="local-build/mediaelement-and-player.js"></script>
<script data-src="demo/testforfiles.js"></script>
<link rel="stylesheet" href="local-build/mediaelementplayer.css" />
<h1>MediaElementPlayer.js - Progress bar # 1</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<p>
<!-- simple single file method -->
<video width="640" height="360"
id="player1" poster="media/echo-hereweare.jpg"
controls="controls" preload="none">
<!-- MP4 source must come first for iOS -->
<source type="video/mp4" src="media/echo-hereweare.mp4" />
<!-- WebM for Firefox 4 and Opera -->
<source type="video/webm" src="media/echo-hereweare.webm" />
<!-- OGG for Firefox 3 -->
<source type="video/ogg" src="media/echo-hereweare.ogv" />
</video>
<span id="player1-mode"></span>
<!--<p><b>Note</b>: if you are working with local files, you'll need to add your working directory
to the <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html">Flash Global Security Settings</a>.</p>-->
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
<script>
$('audio,video').mediaelementplayer({
//alwaysShowControls: true, //NDF:
success: function(player, node) {
$('#' + node.id + '-mode').html('mode: ' + player.pluginType);
$(player).closest(".mejs-container").attr("lang", mejs.i18n.locale.language);
$("html").attr("lang", mejs.i18n.locale.language);
log(player, mejs);
}
});
// Too late!
log(">>i18n (2)", mejs.i18n.getLanguage(), mejs.i18n);
function log(s) {
window.console && console.log(arguments.length > 1 ? arguments : s);
}
</script>
</html>