Reference to the context.
THe duration of the media in seconds.
If the audio media is playable (ready).
Get the audio source element.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optional
callback: LoadedCallbackAdd a listener for a given event.
Optional
context: anyAdd a one-time listener for a given event.
Optional
context: anyRemove all listeners, or those of the specified event.
Optional
event: string | symbolRemove the listeners of a given event.
Optional
fn: (...args: any[]) => voidOptional
context: anyOptional
once: boolean
The fallback version of Sound which uses
<audio>
instead of WebAudio API.Memberof
htmlaudio