(4 intermediate revisions by the same user not shown) | |||
Line 90: | Line 90: | ||
<li class="nav-item"><a class="nav-link" href="https://2018.igem.org/Team:AHUT_China/INTEGRATED_FOR_GOLD">Integrated HP for gold</a></li> | <li class="nav-item"><a class="nav-link" href="https://2018.igem.org/Team:AHUT_China/INTEGRATED_FOR_GOLD">Integrated HP for gold</a></li> | ||
<li class="nav-item"><a class="nav-link" href=" | <li class="nav-item"><a class="nav-link" href=" | ||
− | https://2018.igem.org/Team:AHUT_China/Public_Engagement"> | + | https://2018.igem.org/Team:AHUT_China/Public_Engagement">Public Engagement</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 115: | Line 115: | ||
<!--================Breadcrumb Area =================--> | <!--================Breadcrumb Area =================--> | ||
− | + | ||
− | <div align="center"><video width="100%" controls="controls"><source src="https://static.igem.org/mediawiki/2018/ | + | <div align="center"><video width="100%" controls="controls"><source src="https://static.igem.org/mediawiki/2018/b/bc/T--AHUT_China--_home1475852.jpg" type="video/mp4"></div> |
− | <img width="100%" src="https://static.igem.org/mediawiki/2018/ | + | <img width="100%" src="https://static.igem.org/mediawiki/2018/3/3a/T--AHUT_China--_home145532.jpg" alt=""/> |
Line 456: | Line 456: | ||
</script> | </script> | ||
+ | <script language="javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | video.play(); | ||
+ | }); | ||
+ | |||
+ | var vList = ['001.mp4', 'video//1.mp4', 'video//02.mp4']; // 初始化播放列表 | ||
+ | var vLen = vList.length; | ||
+ | var curr = 0; | ||
+ | var video = document.getElementById("myvideo"); | ||
+ | video.addEventListener('ended', function(){ | ||
+ | play(); | ||
+ | }); | ||
+ | |||
+ | function play() { | ||
+ | video.src = vList[curr]; | ||
+ | video.load(); | ||
+ | video.play(); | ||
+ | curr++; | ||
+ | if(curr >= vLen){ | ||
+ | curr = 0; //重新循环播放 | ||
+ | } | ||
+ | |||
+ | } | ||
+ | </script> | ||
</html> | </html> | ||
{{:Team:AHUT_China/footer}} | {{:Team:AHUT_China/footer}} | ||
{{:Team:AHUT_China/footercss}} | {{:Team:AHUT_China/footercss}} |
Latest revision as of 09:17, 17 October 2018