Create example addon for Sound.jsm

RESOLVED WORKSFORME

Status

()

Firefox for Android
General
RESOLVED WORKSFORME
3 years ago
2 years ago

People

(Reporter: mcomella, Assigned: mcomella)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

3 years ago
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).

Comment 1

3 years ago
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.
(Assignee)

Updated

3 years ago
Flags: needinfo?(michael.l.comella)
(Assignee)

Comment 2

2 years ago
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
Last Resolved: 2 years ago
Flags: needinfo?(michael.l.comella)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.