| Revision 1917,
1.1 KB
checked in by jeroen, 2 years ago
(diff) |
|
some doc fixes and additional CSS resets on labels/inputs of overlay
|
| Line | |
|---|
| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | |
|---|
| 4 | <meta charset="UTF-8"> |
|---|
| 5 | <script type="text/javascript" src="assets/jwplayer.min.js"></script> |
|---|
| 6 | <title>Fullscreen</title> |
|---|
| 7 | <style> |
|---|
| 8 | body { padding: 50px; font: 13px/20px Arial; background: #EEE; } |
|---|
| 9 | form,p, ul { margin-top: 20px; } |
|---|
| 10 | #player { -webkit-box-shadow: 0 0 5px #999; background: #000; color:#FFF; } |
|---|
| 11 | </style> |
|---|
| 12 | |
|---|
| 13 | </head> |
|---|
| 14 | <body> |
|---|
| 15 | |
|---|
| 16 | <h2>Fullscreen</h2> |
|---|
| 17 | |
|---|
| 18 | <div id="container"></div> |
|---|
| 19 | <script type="text/javascript"> |
|---|
| 20 | jwplayer("container").setup({ |
|---|
| 21 | levels: [ |
|---|
| 22 | { file: 'http://content.bitsontherun.com/videos/3XnJSIm4-1287469.webm' }, |
|---|
| 23 | { file: 'http://content.bitsontherun.com/videos/3XnJSIm4-364766.mp4'} |
|---|
| 24 | ], |
|---|
| 25 | image: 'http://content.bitsontherun.com/thumbs/3XnJSIm4-480.jpg', |
|---|
| 26 | height: 270, |
|---|
| 27 | modes: [ |
|---|
| 28 | { type: 'html5' }, |
|---|
| 29 | { type: 'flash', src: 'assets/player.swf' } |
|---|
| 30 | ], |
|---|
| 31 | plugins: { |
|---|
| 32 | '../sharing.js': { |
|---|
| 33 | code: 'hello!' |
|---|
| 34 | } |
|---|
| 35 | }, |
|---|
| 36 | width: 480 |
|---|
| 37 | }); |
|---|
| 38 | jwplayer("container").onResize(function(event){console.log(event.width+' | '+event.height);}); |
|---|
| 39 | </script> |
|---|
| 40 | |
|---|
| 41 | <p> |
|---|
| 42 | Check if the sharing dialog works fine in fullscreen, for both Flash and HTML5 (e.g. Firefox/Chrome). |
|---|
| 43 | </p> |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | </body> |
|---|
| 47 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.