Tutorials References Exercises Menu
Paid Courses

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