source: trunk/html5/test/examples/single_mp4.html @ 1314

Revision 1314, 1.0 KB checked in by zach, 3 years ago (diff)
  • Updating examples
  • Minor IE change
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>Single MP4 Example</title>
5        <script type="text/javascript" src="../../../js/bin-debug/jwplayer.js">
6        </script>
7        <script type="text/javascript" src="../../bin-debug/jwplayer.html5.js">
8        </script>
9    </head>
10    <body>
11        <h1>Single MP4 video</h1>
12        <p>
13            This sets up a player for IE9, FF, Chrome, Safari, and Opera, however, playback will fail in FF 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            var player = new jwplayer.html5(document.getElementById("player"));
20            player.setup({
21                file: "../../../js/test/files/bunny.mp4",
22                image: "../../../js/test/files/bunny.jpg"
23           
24            });
25        </script>
26        <h3>HTML code</h3>
27    </body>
28</html>
Note: See TracBrowser for help on using the repository browser.