Closed Bug 562730 Opened 15 years ago Closed 14 years ago

Reproducing Mp3 files with html5

Categories

(Core :: Audio/Video, enhancement)

x86
All
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: stagi.andrea, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9 When I use html5 audio tag for reproducing mp3 files, it doesn't sound. Tag audio on Firefox should support mp3 format. Reproducible: Always Steps to Reproduce: 1.Reproduce any mp3 file using tag audio 2. 3.
Component: General → Video/Audio
Product: Firefox → Core
QA Contact: general → video.audio
MP3 seems to be licence encumbered (http://en.wikipedia.org/wiki/MP3#Licensing_and_patent_issues) so an implementation would seem ruled out for the same reasons that h264 is ruled out (http://weblogs.mozillazine.org/roc/archives/2010/01/h264_licensing.html).
I see, Chrome and Safari support MP3 cause Google and Apple are in the list of licensees: http://www.mpegla.com/main/programs/AVC/Pages/Licensees.aspx. My problem arose trying to concatenate some audio files by a php script and play the resultant file using an audio tag. MP3 are simply to concatenate, instead of OGG format. Concatenating wave file is as simple as MP3, but the final file is too big. What other file types are supported by audio tag on Firefox?
>What other file types are supported by audio tag on Firefox? ogg and wav
Ok, thanks..But Mozilla isn't going to acquire Mp3 licence, is it? Or it's thinking about? I think that not supporting a popular format as Mp3 is would be a serious restriction...
Hi, I've discover another tag named "embed". I would report an alternative method for playing mp3 in Firefox using dynamic html: HTML code <span id=player></span> <form> <input type="button" value="Play my song" onClick="Play('Panama.mp3')"> </form> Javascript code function Play(url) { document.getElementById("player").innerHTML= "<embed src='"+url+"' hidden=true autostart=true height=0 width=0 loop=false>"; } Setting height and width parameters to 0 it's possible to hide the player.
If mp3 is not possible then support for .aac should be considered.
We won't support MP3 for the same reasons we won't support H.264. See bug 541286 for further details.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.