source: trunk/fl5/js/test/examples/multiple_customs.html @ 1429

Revision 1429, 2.4 KB checked in by zach, 3 years ago (diff)
  • Logo now mimics Flash Player 1081
  • Updating examples
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3    <head>
4        <title>Multiple custom players</title>
5        <script type="text/javascript" src="../../bin-debug/jwplayer.js">
6        </script>
7        <script type="text/javascript" src="settings.js">
8        </script>
9    </head>
10    <body>
11        <h1>Multiple custom players</h1>
12        <p>
13            This page tests various configuration options.
14        </p>
15        <p>
16           It contains two players with multiple sources, so it should play back in IE9, FF, Chrome, Safari, and Opera. IE < 9 will simply display "HTML5 Player should replace this".
17        </p>
18        <h3>Player 1</h3>
19                <p>
20                        Autostart, mute, repeats (single) playlist item, debug enabled.
21                </p>
22        <div height="270" id="player1" width="480">
23                HTML5 Player should replace this
24        </div>
25        <script type="text/javascript">
26            jwplayer("player1").setup({
27                players: settings.players,
28                autostart: true,
29                mute: true,
30                repeat: "single",
31                levels: [{
32                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-486405.mp4"
33                }, {
34                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-604476.ogv"
35                }],
36                image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg",
37                debug: "console"
38           
39            });
40        </script>
41        <h3>Player 2</h3>
42                <p>
43                        Different dimensions, screencolor, duration, volume, skin (Stromtrooper)
44                </p>
45        <div height="270" id="player2" width="480">
46                HTML5 Player should replace this
47        </div>
48        <script type="text/javascript">
49            jwplayer("player2").setup({
50                players: settings.players,
51                height: 260,
52                width: 500,
53                screencolor: "00bee0",
54                duration: 45,
55                volume: 50,
56                levels: [{
57                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-486405.mp4"
58                }, {
59                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-604476.ogv"
60                }],
61                image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg",
62                skin: "../../../../../skins/stormtrooper/stormtrooper.xml"
63            });
64        </script>
65        <h3>HTML code</h3>
66    </body>
67</html>
Note: See TracBrowser for help on using the repository browser.