Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

HTML onemptied Attribute


Definition and Usage

Fires when the current playlist is empty


Applies to

The onemptied attribute is part of the Event Attributes, and can be used on the following elements:

Elements Event
<audio> onemptied
<video> onemptied