Closed Bug 1059534 Opened 10 years ago Closed 9 years ago

Create example addon for Sound.jsm

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

Likely cleaning up https://github.com/mcomella/sound-jsm-test and perhaps adding it to the https://github.com/mozilla/firefox-for-android-addons/ repo.

We may want to associate this with some MDN documentation on how to add sounds via Fennec addons (and some common hooks addon developers can use).
Have you created an MDN page for Sound.jsm? If you have, you should add a link to it on this page:
https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android

If you haven't created one, you could probably just copy/paste one of the existing .jsm articles to create the basic structure.

At the top of the article you can mention that this module isn't bundled in Fennec, and link to the github repo where you can download it.
Flags: needinfo?(michael.l.comella)
Finished the loose ends here. It could be cleaned up (a lot) but there are bigger fish to fry. Technically, my "example Sound.jsm addon" is my test repo (and not intuitive) so I'm going to close this as WORKSFORME, rather than FIXED.

(In reply to Michael Comella (:mcomella) from comment #0)
> Likely cleaning up https://github.com/mcomella/sound-jsm-test

This is still pretty dirty.

> and perhaps
> adding it to the https://github.com/mozilla/firefox-for-android-addons/ repo.

Was done a while ago.

(In reply to :Margaret Leibovic (PTO Aug 27 - Sept 14) from comment #1)
> Have you created an MDN page for Sound.jsm?

Quick and dirty:
  https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/Sound.jsm

> If you have, you should add a
> link to it on this page:
> https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android

Done. Also added to:
  https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API

> If you haven't created one, you could probably just copy/paste one of the
> existing .jsm articles to create the basic structure.

Good advice. :)

> At the top of the article you can mention that this module isn't bundled in
> Fennec, and link to the github repo where you can download it.

Done.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(michael.l.comella)
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.