Как закрыть видео после воспроизведения? - PullRequest
0 голосов
/ 19 сентября 2019
<script type="text/javascript">
function menu1(){
document.getElementById("video").innerHTML ='     <video autoplay style="width: 1340px; height: 720px;" src="video/vid01.mp4" type="video/mp4s" />  ';
}
function menu2(){
document.getElementById("video").innerHTML ='     <video autoplay style="width: 1340px; height: 720px;" src="video/vid02.mp4" type="video/mp4s" />  ';
}
function menu3(){
document.getElementById("video").innerHTML ='     <video autoplay style="width: 1340px; height: 720px;" src="video/vid03.mp4" type="video/mp4s" />  ';
}
</script>
...