source: plugins/captions/test/ova.html @ 2074

Revision 2074, 1.3 KB checked in by jeroen, 16 months ago (diff)

enhanced OVA/MP4 support by hiding dock button, fixed bug with empty TTML head

Line 
1<html>
2<head>
3
4    <meta charset="UTF-8">
5    <script type="text/javascript" src="assets/jwplayer.min.js"></script>
6    <title>OVA Support</title>
7    <link rel="stylesheet" href="assets/style.css" />
8
9</head>
10<body>
11
12<h2>OVA Support</h2>
13
14<div id="container"></div>
15
16<script type="text/javascript">
17jwplayer("container").setup({
18    file: 'http://content.bitsontherun.com/videos/nPripu9l-327.mp4',
19    height: 270,
20    image: 'http://content.bitsontherun.com/thumbs/nPripu9l-480.jpg',
21    flashplayer: 'assets/player.swf',
22    plugins: { 
23        'assets/ova.swf': {
24            debug: {
25              levels: "fatal"
26            },
27            ads: {
28                controls: { 
29                    manage: false 
30                },
31                servers: [{
32                    type: "OpenX",
33                    apiAddress: "http://openx.openvideoads.org/openx/www/delivery/fc.php"
34                }],
35                schedule: [{
36                    zone: "5",
37                    position: "pre-roll"
38                }]
39            }
40        }, '../captions.js': {
41              file: "assets/bunny-eng.xml"
42        }
43    },
44    width: 480
45});
46</script>
47
48
49<p>
50    OVA only works in Flash mode.<br/>
51    The Captions button should not display before and during playback of the preroll.
52</p>
53
54
55</body>
56</html>
Note: See TracBrowser for help on using the repository browser.