Advertisement
Home Open Editor ❯

HTML onemptied Attribute

Meaning

The onemptied script fires when the current playlist is empty.


Standard Syntax

<element onemptied="script">


Applies to:

The onemptied attribute can be used on the following element:

Element Attribute
<audio> onemptied
<video> onemptied

Advertisement

Attribute Values

Value Description
script Specifies the script to be run on onemptied
Home Open Editor ❯
Advertisement