Changeset 1938 for plugins/related/test/compatibility.html
- Timestamp:
- 08/05/11 11:35:33 (22 months ago)
- File:
-
- 1 edited
-
plugins/related/test/compatibility.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/related/test/compatibility.html
r1937 r1938 1 1 <html> 2 <head> 3 <script src="./assets/jwplayer.js" type="text/javascript"></script> 4 </head> 5 <body> 6 <a href="index.html">Back to index</a> 7 <div id="player"></div> 8 <script type="text/javascript"> 9 jwplayer('player').setup({ 10 levels: [ 11 { file: './assets/bunny.flv' } 12 ], 13 plugins: { 14 '../bin-debug/related.js': { 15 useicons: true, 16 file: "./assets/recs.xml" 17 } 18 }, 19 'modes': [ 20 {type: 'flash', src: './assets/player.swf'} 21 ] 22 }); 23 </script> 24 NB: Plugin will not load here, due to Flash player mode. 25 </body> 2 <head> 3 4 <meta charset="UTF-8"> 5 <script type="text/javascript" src="assets/swfobject.js"></script> 6 <title>Backward compatibility</title> 7 <style> 8 body { padding: 50px; font: 13px/20px Arial; background: #EEE; } 9 #player, p, ul { margin-top: 20px; display: block; } 10 #player { -webkit-box-shadow: 0 0 5px #999; background: #000; color:#FFF; line-height:270px; text-align: center; } 11 </style> 12 13 </head> 14 <body> 15 16 <h2>Backward compatibility</h2> 17 18 <div id="player">Select an option</div> 19 20 <script type="text/javascript"> 21 swfobject.embedSWF( 22 'assets/player-5.2.swf', 23 'player', 24 720, 25 294, 26 '9.0.0', 27 null, 28 {file:'assets/playlist.xml', playlist: 'right', playlistsize: 240, plugins:'../related.swf', 'related.heading':'Check out these vids too:'}, 29 {allowfullscreen:'true',allowscriptaccess:'always'}, 30 {id:'player',name:'player'} 31 ); 32 </script> 33 34 <p> 35 This test uses the 5.2 player and the SWFObject embed method.<br /> 36 All related features are enabled: useicons, oncomplete, heading and playlisting. 37 </p> 38 39 </body> 26 40 </html> 27
Note: See TracChangeset
for help on using the changeset viewer.
