-
Notifications
You must be signed in to change notification settings - Fork 5
/
pink.flag.both.html
88 lines (80 loc) · 2.46 KB
/
pink.flag.both.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
85
86
87
88
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>jPlayer Injector Demo: Pink Flag</title>
<link href="skin/pink.flag/jplayer.pink.flag.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="lib/jquery-1.10.2.js"></script>
<script type="text/javascript" src="lib/jquery.jplayer.js"></script>
<script type="text/javascript" src="js/jplayer.injector.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// Inject Videos
jPlayerInjector({
selector: ".video",
template: "skin/pink.flag/jplayer.pink.flag.video.html",
jPlayer: {
swfPath: "lib"
},
// Extra options due to using jPlayer.injector multiple times.
prefix: {
jPlayer: "jplayer_video_",
cssSelectorAncestor: "jp_video_container_"
}
});
// Inject Audios
jPlayerInjector({
selector: ".audio",
template: "skin/pink.flag/jplayer.pink.flag.audio.html",
jPlayer: {
swfPath: "lib"
},
// Extra options due to using jPlayer.injector multiple times.
prefix: {
jPlayer: "jplayer_audio_",
cssSelectorAncestor: "jp_audio_container_"
}
});
});
</script>
</head>
<body>
<div
class="video"
data-m4v="http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v"
data-poster="http://jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png"
data-title="Big Buck Bunny Trailer (m4v)">
</div>
<div
class="video"
data-m4v="http://www.jplayer.org/video/m4v/Finding_Nemo_Teaser.m4v"
data-webmv="http://www.jplayer.org/video/webm/Finding_Nemo_Teaser.webm"
data-poster="http://www.jplayer.org/video/poster/Finding_Nemo_Teaser_640x352.png"
data-title="Finding Nemo Teaser (webm/m4v)">
</div>
<div
class="audio"
data-mp3="http://www.jplayer.org/audio/mp3/Miaow-07-Bubble.mp3"
data-title="Bubble (mp3)">
</div>
<div
class="audio"
data-mp3="http://www.jplayer.org/audio/mp3/Miaow-02-Hidden.mp3"
data-oga="http://www.jplayer.org/audio/ogg/Miaow-02-Hidden.ogg"
data-title="Hidden (oga/mp3)">
</div>
<div
class="video"
data-m4v="http://www.jplayer.org/video/m4v/Incredibles_Teaser.m4v"
data-ogv="http://www.jplayer.org/video/ogv/Incredibles_Teaser.ogv"
data-webmv="http://www.jplayer.org/video/webm/Incredibles_Teaser.webm"
data-poster="http://www.jplayer.org/video/poster/Incredibles_Teaser_640x272.png"
data-title="Incredibles Teaser (webm/ogv/m4v)">
</div>
<div
class="audio"
data-m4a="http://www.jplayer.org/audio/m4a/Miaow-04-Lismore.m4a"
data-title="Lismore (m4a)">
</div>
</body>
</html>