<script> var video = document.querySelector('#video'); video.addEventListener('canplay', function(){ // console.log(11111) video.play(); }) </script>//监听canplay