视频播放完,跳转页面 <script> function getVid() { if(document.getElementById("myVid").currentTime > 14){ window.location.href="index.html"; }else{ setTimeout("getVid()",1000); } } getVid(); </script>