source: trunk/fl5/js/test/examples/mp4_ogg.html @ 1423

Revision 1423, 1.2 KB checked in by zach, 3 years ago (diff)
  • Updating examples to uses embedder, API, and settings file
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 sources</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>MP4 plus OGG video</h1>
12                 <p>
13           This page contains a player 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".
14        </p>
15        <div height="270" id="player" width="480">
16                 HTML5 Player should replace this.
17        </div>
18        <script type="text/javascript">
19            jwplayer("player").setup({
20                players: settings.players,
21                levels: [{
22                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-486405.mp4"
23                }, {
24                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-604476.ogv"
25                }],
26                image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg"
27            });
28        </script>
29        <h3>HTML code</h3>
30    </body>
31</html>
Note: See TracBrowser for help on using the repository browser.