Firefox doesn't support MP3 - workaround for user / extension?

As stated in Why Firefox does not support MP3 file format in <audio> , Firefox does not support MP3 for <audio>. For some reason, the third-party website does not contain files other than mp3 and uses the code as shown below to embed mp3 files:

<object CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
        width="1" height="1">
    <param name="URL" value="media/audio.mp3">
    <param name="autoStart" value="true">
</object>

Since my illiterate client computer does not use Windows but Ubuntu, this obviously does not work. Now, since I don't have access to the files on this server, I tried to create a Greasemonkey script that replaces all these scripts with a <audio>script, but then Firefox 12 complains that the MP3 files cannot be played using <audio>. Chrome can't play either.

As a workaround, I tried replacing it with <embed>and using the VLC plugin, but this time Firefox crashed due to a segmentation error.

So, I'm looking for a way that allows an audio file from MP3 files played in Firefox or Chromium, from a user name or extension. Any ideas?

+3
source share
1 answer

Honestly, audio playback is still one of the cases where (unfortunately) Flash is a very good answer. The code for playing audio in Flash is straightforward, and every Flash implementation (not just Adobe, including the FOSS alternatives available on Ubuntu) can handle this easily.

+2
source

All Articles