Thuộc tính onwaiting kích hoạt khi video tạm dừng và đệm (buffer) để tiếp tục lại. Bạn có thể chạy mã sau để triển khai thuộc tính onwaiting:
Ví dụ
<!DOCTYPE html>
<html>
<body>
<h2 id="test">Phát</h2>
<video id="myid" width="320" height="176" controls onwaiting="myFunction()">
<source src="/html5/foo.ogg" type="video/ogg" />
<source src="/html5/foo.mp4" type="video/mp4" />
Trình duyệt của bạn không hỗ trợ phần tử video.
</video>
<script>
function myFunction() {
document.getElementById("test").innerHTML = "Media tiếp tục lại";
}
</script>
</body>
</html>