| Revision 1518,
1.0 KB
checked in by jeroen, 2 years ago
(diff) |
|
some small fixes for FF - IE is still a mess
|
| Line | |
|---|
| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 3 | <head> |
|---|
| 4 | |
|---|
| 5 | <title>Lightbox demo</title> |
|---|
| 6 | |
|---|
| 7 | <style type="text/css"> |
|---|
| 8 | body { background-color: #FFF; padding: 40px; font-family: Arial; } |
|---|
| 9 | </style> |
|---|
| 10 | <script type="text/javascript" src="jwplayer.js"></script> |
|---|
| 11 | <script type="text/javascript" src="../jwplayer.lightbox.js"></script> |
|---|
| 12 | |
|---|
| 13 | </head> |
|---|
| 14 | <body> |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | <h2>Lightbox demo</h2> |
|---|
| 18 | <div id="container"></div> |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | <script type="text/javascript"> |
|---|
| 22 | jwplayer("container").setup({ |
|---|
| 23 | file: 'http://content.bitsontherun.com/videos/nPripu9l-329.mp4', |
|---|
| 24 | flashplayer: "jwplayer.swf", |
|---|
| 25 | height: 406, |
|---|
| 26 | image:'http://content.bitsontherun.com/thumbs/nPripu9l-720.jpg', |
|---|
| 27 | width: 720 |
|---|
| 28 | }); |
|---|
| 29 | jwplayer.lightbox({ |
|---|
| 30 | height: 135, |
|---|
| 31 | icon: '../assets/play.png', |
|---|
| 32 | id: 'container', |
|---|
| 33 | image:'http://content.bitsontherun.com/thumbs/nPripu9l-320.jpg', |
|---|
| 34 | width: 240 |
|---|
| 35 | }); |
|---|
| 36 | |
|---|
| 37 | </script> |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | </body> |
|---|
| 42 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.