Class: HTMLAudioMedia

htmlaudio.HTMLAudioMedia

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

new htmlaudio.HTMLAudioMedia

Extends

  • PIXI.util.EventEmitter

Implements

Members

context htmlaudio.HTMLAudioContext readonly

Reference to the context.

duration number readonly

THe duration of the media in seconds.

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.