(4 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
<html> | <html> | ||
<head> | <head> | ||
− | <link rel="shortcut icon" href="/favicon. | + | <link rel="shortcut icon" href="https://static.igem.org/mediawiki/2019/9/95/T--Ruperto_Carola--favicon.png" /> |
</head> | </head> | ||
Line 20: | Line 20: | ||
<img src="https://static.igem.org/mediawiki/2019/7/75/T--Ruperto_Carola--img-landing_loop.gif" title="Your browser does not support the <video> tag"> <!-- Fallback --> | <img src="https://static.igem.org/mediawiki/2019/7/75/T--Ruperto_Carola--img-landing_loop.gif" title="Your browser does not support the <video> tag"> <!-- Fallback --> | ||
</video> | </video> | ||
− | <video class="embed-responsive-item" id="videocontainer2" style="display: none;" muted preload loop> | + | <video class="embed-responsive-item" id="videocontainer2" style="display: none;" muted preload onended="loop()"> |
<source id="videosource2" src="https://static.igem.org/mediawiki/2019/7/7e/T--Ruperto_Carola--video-landingloop.mp4" type="video/mp4"> | <source id="videosource2" src="https://static.igem.org/mediawiki/2019/7/7e/T--Ruperto_Carola--video-landingloop.mp4" type="video/mp4"> | ||
<img src="https://static.igem.org/mediawiki/2019/7/75/T--Ruperto_Carola--img-landing_loop.gif" title="Your browser does not support the <video> tag"> <!-- Fallback --> | <img src="https://static.igem.org/mediawiki/2019/7/75/T--Ruperto_Carola--img-landing_loop.gif" title="Your browser does not support the <video> tag"> <!-- Fallback --> | ||
Line 32: | Line 32: | ||
<div class="col p-0"> | <div class="col p-0"> | ||
<img class="img-fluid" src="https://static.igem.org/mediawiki/2019/a/af/T--Ruperto_Carola--img-landingv3.png" alt="background image"> | <img class="img-fluid" src="https://static.igem.org/mediawiki/2019/a/af/T--Ruperto_Carola--img-landingv3.png" alt="background image"> | ||
+ | |||
+ | |||
+ | |||
</div> | </div> | ||
</div> | </div> | ||
Line 71: | Line 74: | ||
function replacebyloop() { | function replacebyloop() { | ||
− | |||
videocontainer.setAttribute('display', none); | videocontainer.setAttribute('display', none); | ||
videocontainer2.setAttribute('display', block); | videocontainer2.setAttribute('display', block); | ||
+ | videocontainer2.play(); | ||
+ | } | ||
+ | |||
+ | function loop() { | ||
+ | videocontainer2.currentTime = 0; | ||
videocontainer2.play(); | videocontainer2.play(); | ||
} | } |
Latest revision as of 03:18, 22 October 2019
![background image](https://static.igem.org/mediawiki/2019/a/af/T--Ruperto_Carola--img-landingv3.png)