Class: HTMLAudioMedia

htmlaudio.HTMLAudioMedia

The fallback version of Sound which uses <audio> instead of WebAudio API.

new htmlaudio.HTMLAudioMedia ()

Extends

  • PIXI.EventEmitter

Implements

Members

context htmlaudio.HTMLAudioContext readonly

Reference to the context.

duration number readonly

The duration of the media in seconds, or NaN until the element has loaded its metadata.

filters filters.Filter[]

The collection of filters, does not apply to HTML Audio.

isPlayable boolean readonly

If the audio media is playable (ready).

source HTMLAudioElement readonly

Get the audio source element.