source: plugins/hd/v5/test/basic.html @ 1908

Revision 1908, 987 bytes checked in by jeroen, 23 months ago (diff)

Initial work on HTML5 HD plugin (not done yet)

Line 
1<html>
2<head>
3
4<meta charset="UTF-8">
5<script type="text/javascript" src="assets/jwplayer.min.js"></script>
6<title>Basic setup</title>
7<style>
8    body { padding: 50px; font: 13px/20px Arial; background: #EEE; }
9    #player, p, ul { margin-top: 20px; display: block; }
10    #player { -webkit-box-shadow: 0 0 5px #999; background: #000; color:#FFF;}
11</style>
12
13</head>
14<body>
15
16<h2>Basic setup</h2>
17
18<div id="player">Select an option</div>
19
20<script type="text/javascript">
21jwplayer("player").setup({
22    dock: false,
23    file: 'http://content.bitsontherun.com/videos/nPripu9l-327.mp4',
24    flashplayer: 'assets/player.swf',
25    height: 270,
26    image:'http://content.bitsontherun.com/thumbs/nPripu9l-480.jpg',
27    plugins: {
28        '../hd.swf': {
29            file: 'http://content.bitsontherun.com/videos/nPripu9l-67067.mp4'
30        }
31    },
32    width: 480
33});
34</script>
35
36
37<p>
38    Basic, single file setup.<br />
39    The HD state should be stored in a cookie (reload).
40</p>
41
42</body>
43</html>
Note: See TracBrowser for help on using the repository browser.