Team:ETH Zurich/Templates/Test
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<html> | <html> | ||
- | <script src="//embed.flowplayer.org/5.4.3/embed.min.js" type="text/javascript"><div style="width: 624px; height: 260px;" class="flowplayer"><video><source src="http://stream.flowplayer.org/bauhaus/624x260.webm" type="video/webm"><source src="http://stream.flowplayer.org/bauhaus/624x260.mp4" type="video/mp4"><source src="http://stream.flowplayer.org/bauhaus/624x260.ogv" type="video/ogg"><source src="mp4:bauhaus/624x260.mp4" type="video/flash"></video></div></script> | + | <!-- |
+ | <script src="//embed.flowplayer.org/5.4.3/embed.min.js" type="text/javascript"><div style="width: 624px; height: 260px;" class="flowplayer"><video><source src="http://stream.flowplayer.org/bauhaus/624x260.webm" type="video/webm"><source src="http://stream.flowplayer.org/bauhaus/624x260.mp4" type="video/mp4"><source src="http://stream.flowplayer.org/bauhaus/624x260.ogv" type="video/ogg"><source src="mp4:bauhaus/624x260.mp4" type="video/flash"></video></div></script> --> | ||
+ | |||
+ | <video id="v1" width="640" height="360" poster="player/shot.png" controls="controls"> | ||
+ | <source src="http://praegnanz.de/html5video/player/video_SD.mp4" type="video/mp4" /> <source src="http://praegnanz.de/html5video/player/video_SD.webm" type="video/webm" /> <track kind="subtitles" src="player/mediaelement/mediaelement.srt" srclang="en"></track> | ||
+ | <object width="640" height="480" type="application/x-shockwave-flash" data="player/mediaelement/flashmediaelement.swf"> | ||
+ | <param name="movie" value="player/mediaelement/flashmediaelement.swf" /> | ||
+ | <param name="flashvars" value="controls=true&poster=player/shot.png&file=http://praegnanz.de/html5video/player/video_SD.mp4" /> | ||
+ | <img src="player/shot.png" width="640" height="360" title="No video playback capabilities" /> | ||
+ | </object> | ||
+ | </video> | ||
+ | |||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | myplayer = new MediaElementPlayer('#v1', { | ||
+ | features: ['playpause','progress','current','duration','tracks','volume','fullscreen'], | ||
+ | translationSelector: false | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 14:21, 5 September 2013