Phaser API Documentation

  Version: 
<private> pickAudioTag()

Description:

This method performs the audio tag pooling logic. It first looks for unused audio tag to assign to this sound object. If there are no unused audio tags, based on HTML5AudioSoundManager#override property value, it looks for sound with most advanced playback and hijacks its audio tag or does nothing.

Returns:
Description:

Whether the sound was assigned an audio tag successfully.

Type:
  • boolean
Since: 3.0.0