Ibrahym501 (Talk | contribs) |
Ibrahym501 (Talk | contribs) |
||
Line 26: | Line 26: | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
+ | <button onclick="playVid()" type="button"><img src="https://static.igem.org/mediawiki/2018/0/00/T--Tec-Chihuahua--Play.png"></button> | ||
+ | <button onclick="pauseVid()" type="button"><img src="https://static.igem.org/mediawiki/2018/2/2f/T--Tec-Chihuahua--Stop.png"></button><br> | ||
+ | |||
+ | <video id="myVideo" width="100%"> | ||
+ | <source src="https://static.igem.org/mediawiki/2018/0/07/T--Tec-Chihuahua--VIdeo.mp4" type="video/mp4"> | ||
+ | </video> | ||
<style> | <style> | ||
.video-header { | .video-header { | ||
Line 38: | Line 41: | ||
} | } | ||
</style> | </style> | ||
+ | <script> | ||
+ | var vid = document.getElementById("myVideo"); | ||
+ | |||
+ | function playVid() { | ||
+ | vid.play(); | ||
+ | } | ||
+ | |||
+ | function pauseVid() { | ||
+ | vid.pause(); | ||
+ | } | ||
+ | </script> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 18:00, 6 October 2018