source: plugins/related/test/options.html @ 1937

Revision 1937, 780 bytes checked in by jeroen, 22 months ago (diff)

created new guide, cleaned up test assets

  • Property svn:executable set to *
Line 
1<html>
2        <head>
3                <script src="./assets/jwplayer.js" type="text/javascript"></script>
4        </head>
5        <body>
6                <a href="index.html">Back to index</a>
7                <div id="player"></div>
8                <script type="text/javascript">
9                jwplayer('player').setup({
10                        levels: [
11                                { file: 'http://playertest.longtailvideo.com/bunny.mp4' },
12                                { file: 'http://playertest.longtailvideo.com/bunny.ogv' }
13                        ],
14                        plugins: {
15                                '../bin-debug/related.js': {
16                        useicons: true,
17                        onpause: false,
18                        redirect: false,
19                        uidebug: true,
20                        file: "./assets/recs.xml"
21                                }
22                        },
23                        'modes': [
24                                {type: 'html5'},
25                                {type: 'flash', src: './assets/player.swf'}
26                        ]
27                });
28                </script>
29        NB: this example uses an undocumented flag <tt>uidebug</tt> to show the UI layout.
30        </body>
31</html>
32
Note: See TracBrowser for help on using the repository browser.