| Revision 1379,
1.3 KB
checked in by zach, 3 years ago
(diff) |
- Logo doesn't appear if file isn't specified 1068
- Plugins block doesn't kill HTML5 player 1069
- Console will not log if console is not available 1070
|
| Rev | Line | |
|---|
| [1379] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|---|
| 2 | <html> |
|---|
| 3 | <head> |
|---|
| 4 | <title>Plugins</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>Plugins</h1> |
|---|
| 12 | <p> |
|---|
| 13 | This test the various configuration options for plugins. Video should play natively on FF, Chrome, Safari, and Opera but will fail in IE. |
|---|
| 14 | </p> |
|---|
| 15 | <h2> |
|---|
| 16 | HD |
|---|
| 17 | </h2> |
|---|
| 18 | <div height="270" id="player1" width="480"> |
|---|
| 19 | </div> |
|---|
| 20 | <script type="text/javascript"> |
|---|
| 21 | var player1 = new jwplayer.html5(document.getElementById("player1")); |
|---|
| 22 | player1.setup({ |
|---|
| 23 | levels: [{ |
|---|
| 24 | file: "http://content.bitsontherun.com/videos/gSzpo2wh-486405.mp4" |
|---|
| 25 | }, { |
|---|
| 26 | file: "http://content.bitsontherun.com/videos/gSzpo2wh-604476.ogv" |
|---|
| 27 | }], |
|---|
| 28 | image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg", |
|---|
| 29 | plugins: { |
|---|
| 30 | hd: { |
|---|
| 31 | file: "bunny.mp4" |
|---|
| 32 | }, |
|---|
| 33 | controlbar: { |
|---|
| 34 | position: "top" |
|---|
| 35 | } |
|---|
| 36 | }, |
|---|
| 37 | components: { |
|---|
| 38 | controlbar: { |
|---|
| 39 | position: "over" |
|---|
| 40 | } |
|---|
| 41 | } |
|---|
| 42 | }); |
|---|
| 43 | </script> |
|---|
| 44 | <h3>HTML code</h3> |
|---|
| 45 | </body> |
|---|
| 46 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.