비어 있는 사용 HTML에서 파일을 사용할 수 없거나 파일이 비어 있을 때 스크립트를 실행하는 HTML 속성입니다.
예시
다음 코드를 실행하여 비어 있지 않은 속성 -
<!DOCTYPE HTML>
<html>
<body>
<video width = "300" height = "200" controls onemptied ="display()">
<source src = "/html5/foo.ogg" type = "video/ogg" />
Your browser does not support the video element.
</video>
<script>
function display()
{
alert ("Sorry! Empty playlist!");
}
</script>
</body>
</html>