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

Revision 1731, 986 bytes checked in by jeroen, 2 years ago (diff)

added example XMls to HD plugin, and cleaned up a glitch in CSS of the tests

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<p>
37    Basic, single file setup.<br />
38    The HD state should be stored in a cookie (reload).
39</p>
40
41</body>
42</html>
Note: See TracBrowser for help on using the repository browser.