source: branches/audiotag/js/test/examples/mp4_ogv.html @ 1562

Revision 1562, 1.3 KB checked in by zach, 2 years ago (diff)
  • Adding Audio Support
RevLine 
[1306]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
[994]2<html>
[1300]3    <head>
[1562]4        <title>Multiple video sources</title>
[1410]5        <script type="text/javascript" src="../../bin-debug/jwplayer.js">
[1314]6        </script>
[1423]7        <script type="text/javascript" src="settings.js">
8        </script>
[1300]9    </head>
10    <body>
[1431]11        <script type="text/javascript">
12            document.write("<h1>" + document.title + "</h1>");
13        </script>
[1314]14                 <p>
15           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".
[1300]16        </p>
17        <div height="270" id="player" width="480">
[1314]18                 HTML5 Player should replace this.
[1300]19        </div>
20        <script type="text/javascript">
[1423]21            jwplayer("player").setup({
[1448]22                players: settings.players(window.location.href),
[1300]23                levels: [{
[1361]24                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-486405.mp4"
[1300]25                }, {
[1361]26                        file: "http://content.bitsontherun.com/videos/gSzpo2wh-604476.ogv"
[1300]27                }],
[1361]28                image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg"
[1300]29            });
30        </script>
31        <h3>HTML code</h3>
32    </body>
33</html>
Note: See TracBrowser for help on using the repository browser.