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.
Optionalcallback: LoadedCallbackAdd a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyRemove all listeners, or those of the specified event.
Optionalevent: string | symbolRemove the listeners of a given event.
Optionalfn: (...args: any[]) => voidOptionalcontext: anyOptionalonce: boolean
The fallback version of Sound which uses
<audio>instead of WebAudio API.Memberof
htmlaudio