From 2013.igem.org
(Difference between revisions)
|
|
Line 20: |
Line 20: |
| }); | | }); |
| </script> | | </script> |
- |
| |
- | </html>
| |
- |
| |
- |
| |
- |
| |
- | <html>
| |
- | <div style="margin-left: auto; margin-right: auto; width: 100%;" id="</html>{{{id|playerA}}}<html>" class="projekktor">
| |
- | </div>
| |
- | <script type="text/javascript">
| |
- | $(document).ready(function() {
| |
- | projekktor(
| |
- | '#</html>{{{id|playerA}}}<html>', // destination-container-selector-fuzz a la jQuery
| |
- | {
| |
- | ratio: 16/9,
| |
- | debug: false,
| |
- | poster: "media/intro.png",
| |
- | playlist: [{
| |
- | 0: {src:'http://praegnanz.de/html5video/player/video_SD.mp4', type:'video/mp4'},
| |
- | 1: {src:'http://praegnanz.de/html5video/player/video_SD.webm', type: 'video/webm'}
| |
- | }]
| |
- | },
| |
- |
| |
- | function(player) { // "onready" callback -
| |
- |
| |
- | }
| |
- | );
| |
- | });
| |
- | </script>
| |
| | | |
| </html> | | </html> |
Revision as of 13:05, 23 September 2013