blob: d70b4084cd75f5ae12d791fc5a9555934e00d58b (
plain)
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> Sample Themed Player </title>
Pre-loading demo ( stuff ) likely needed for video display
<!-- <script type="text/javascript" src="../../../ResourceLoader.php?debug=true&class=mwEmbed"></script> -->
<script type="text/javascript" src="../../../mwEmbedStartup.php"></script>
</head>
<script type="text/javascript">
// Show the controls ( this is a theme demo )
mw.setConfig( 'EmbedPlayer.OverlayControls', false );
</script>
<body>
<h3> Sample Themable Player:</h3>
To play with dynamic Themes install <a href="http://jqueryui.com/themeroller/developertool/">Themeroller</a><p><p>
<div style="width:450px;float:left">
<video
style="width:400px;height:300px"
src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg"
poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg"
apiTitleKey="Charles_Lindbergh_flight_to_Brussels.ogg"
apiProvider="commons"
durationHint="60" >
</video>
<video
style="width:208px;height:160px;float:left"
src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg"
apiTitleKey="Charles_Lindbergh_flight_to_Brussels.ogg"
apiProvider="commons"
poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg"
durationHint="60">
</video>
<b>Source Code used:</b><br>
<textarea cols="50" rows="7"><video style="width:400px;height:288px" poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg"
src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg"></video></textarea>
</div>
<div style="width:450px;float:left">
<video
class="kskin"
style="width:400px;height:300px"
src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg"
apiTitleKey="Charles_Lindbergh_flight_to_Brussels.ogg"
apiProvider="commons"
poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg"
durationHint="60">
</video>
<video
class="kskin"
apiTitleKey="Charles_Lindbergh_flight_to_Brussels.ogg"
apiProvider="commons"
style="width:208px;height:160px;float:left;" src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg"
poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg"
durationHint="60">
</video>
<b>(kskin) Source Code used:</b><br>
<textarea cols="50" rows="7"><video class="kskin" style="width:400px;height:288px" poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg"
src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg"></video></textarea>
</div>
</body>
</html>
|