Team:ETH Zurich/Templates/Test
From 2013.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<html> | <html> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | <video id="player_a" class="projekktor" poster="media/intro.png" title="this is Projekktor" width="640" height="385" controls> | |
- | + | <source src="media/intro.ogv" type="video/ogg" /> | |
- | + | <source src="media/intro.mp4" type="video/mp4" /> | |
- | + | <source src="media/intro.webm" type="video/webm" /> | |
- | + | </video> | |
- | + | ||
- | + | ||
- | + | <script type="text/javascript"> | |
- | + | $(document).ready(function() { | |
+ | projekktor( | ||
+ | '#player_a', // destination-container-selector-fuzz a la jQuery | ||
+ | {}, // an empty Projekktor-ccofig-object | ||
+ | function(player) { // "onready" callback - | ||
+ | |||
+ | } | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
</html> | </html> |
Revision as of 16:03, 5 September 2013