Feature #239 » flash.html
| 1 | <html>
 | 
|---|---|
| 2 | <head>
 | 
| 3 | <script type="text/javascript" src="/jwplayer/jwplayer.js"></script> | 
| 4 | </head>
 | 
| 5 | <body>
 | 
| 6 |  | 
| 7 | <video id="myVideo" width="320" height="240" controls> | 
| 8 | <source src="http://feynman:8090/webcam.flv" type="application/x-shockwave-flash"> | 
| 9 | 	</video>
 | 
| 10 |  | 
| 11 | <script type="text/javascript"> | 
| 12 | jwplayer("myVideo").setup({ | 
| 13 | file: "http://feynman:8090/webcam.flv", | 
| 14 | modes: [ | 
| 15 | { type: 'flash', src: '/jwplayer/jwplayer.flash.swf' } | 
| 16 |     		],
 | 
| 17 | rtmp:{ | 
| 18 | bufferlength:0.1 | 
| 19 |             }
 | 
| 20 |   		});
 | 
| 21 | 	</script>
 | 
| 22 |  | 
| 23 | </body>
 | 
| 24 | </html>
 |