Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

Sound.jsm

Sound.jsm is not shipped with Firefox for Android – it must be downloaded from Github and packaged with your addon.

The Sound.jsm JavaScript code module offers the ability to play sounds simply using the HTML 5 audio APIs under the hood. For basic usage, see the Github readme.

For a rough example on its use (note: the Sound.jsm file must be added to the project), see here.

Document Tags and Contributors

 Contributors to this page: wbamberg, mcomella
 Last updated by: wbamberg,