Class: SoundPlayer

Sound.SoundPlayer

sound player class.

new Sound.SoundPlayer (src)

Name Type Description
src String URL to sound to play

Members

sound DOMElement

the sound element

Methods

play ()

play the loaded sound.

stop ()

stop playing the loaded sound.