Tutorials References Exercises Videos NEW Menu
Paid Courses Website NEW

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