<!DOCTYPE html><html><head><title>Wikitechy onemptied attribute</title></head><body><videowidth="320"height="240"controlsonemptied="onEmptied()"><sourcesrc="hibiscus.mp4"type="video/mp4"></video><script>functiononEmptied() {alert("Wikitechy Video playlist is Empty!");}</script></body></html>
Code Explanation for onemptied attribute in HTML:
<video> tag is used to embed a video file in the HTML Document.
The onemptied attribute is used to trigger an event when the playlist is empty.
The JavaScript function onemptied is used to display an alert message.