<video id="screenVideo" autoplay="" preload="" muted="" style="width: 100%; object-fit: fill;">
<source type="video/mp4" src="https://bbs.csdn.net/TLAdvertisement/video/tailinshipin.mp4">
</video>
window.addEventListener('load', function () {
var screenVideo = document.getElementById('screenVideo')
screenVideo.addEventListener('ended', function () {
screenVideo.load();
screenVideo.play();
return false;
}, false);
});
這樣寫會重繪整個頁面,請問怎么禁止
不好意思只有30分了
uj5u.com熱心網友回復:
上面代碼中沒有重繪頁面的功能。uj5u.com熱心網友回復:
是沒有,但是每次 這個視頻播放完成后,頁面都會重繪。不知道什么
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/33613.html
標籤:HTML5
下一篇:資料表的內連接
