HTML onemptied Attribute: This attribute is defined as it fires when the current playlist is empty. And the onemptied attribute is a section of the Event Attributes.
HTML onemptied Attribute
The HTML onemptied attribute can be applied on the <audio> and <video> elements.
Syntax: <element onemptied=”script”>
Browser Support:
This attribute will be supported by different browsers as follows:
- Chrome
- Internet Explorer
- Safari
- Firefox
- Opera