Team:ETH Zurich/Templates/Video
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<div style="width: 90%; margin-left: auto; margin-right: auto;"> | <div style="width: 90%; margin-left: auto; margin-right: auto;"> | ||
- | <video id="</html>{{{id|playerA}}}<html>" class="projekktor" poster="media/intro.png" title="</html>{{{title|}}}<html>" controls style="width: 100%; max-width:</html>{{{width|100%}}}<html>; | + | <video id="</html>{{{id|playerA}}}<html>" class="projekktor" poster="media/intro.png" title="</html>{{{title|}}}<html>" controls style="width: 100%; max-width:</html>{{{width|100%}}}<html>;"> |
<source src="http://praegnanz.de/html5video/player/video_SD.mp4" type="video/mp4" /> | <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" /> | <source src="http://praegnanz.de/html5video/player/video_SD.webm" type="video/webm" /> | ||
Line 10: | Line 10: | ||
projekktor( | projekktor( | ||
'#</html>{{{id|playerA}}}<html>', // destination-container-selector-fuzz a la jQuery | '#</html>{{{id|playerA}}}<html>', // destination-container-selector-fuzz a la jQuery | ||
- | {ratio: </html>{{{ | + | {ratio: </html>{{{ratio|16/9}}}<html>/</html>{{{height|9}}}<html>}, // an empty Projekktor-ccofig-object |
function(player) | function(player) | ||
{ // "onready" callback - | { // "onready" callback - |
Revision as of 12:39, 23 September 2013