Firefox Addon Sdk Not Playing Audio Using New Audio
I'm developing a firefox extension, and I'd like it to play a notification sound when an event occurs. However, despite following the instructions from Play audio from firefox exte
Solution 1:
As noted in the comments, try using an absolute URL in the contentScript
string:
"new Audio("+data.url("notification-1.mp3")+").play();"
Post a Comment for "Firefox Addon Sdk Not Playing Audio Using New Audio"