為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox Quantum on Linux don't play html5 audio .ogg and .mp3

  • 4 回覆
  • 1 有這個問題
  • 11 次檢視
  • 最近回覆由 e_defranco

more options

I have installed today new Firefox Quantum on xubuntu 12.04 64bit and I seen that it cannot play html5 audio as: <audio id="audio1" src="audio/test/audio1.ogg" preload="auto" loop autoplay="autoplay"></audio> Pevious version FF 48 and FF 52 play it whitout problem.

I tested with test_audio.canPlayType('audio/mpeg;') and it return an empty string, but test_audio.canPlayType('audio/ogg; codecs="vorbis"') give me "probably".

Is a bug ?

Thank in advance,

Emilio

I have installed today new Firefox Quantum on xubuntu 12.04 64bit and I seen that it cannot play html5 audio as: <audio id="audio1" src="audio/test/audio1.ogg" preload="auto" loop autoplay="autoplay"></audio> Pevious version FF 48 and FF 52 play it whitout problem. I tested with test_audio.canPlayType('audio/mpeg;') and it return an empty string, but test_audio.canPlayType('audio/ogg; codecs="vorbis"') give me "probably". Is a bug ? Thank in advance, Emilio

所有回覆 (4)

more options

In the address bar, type about:config and press Enter.

The about:config "This might void your warranty!" warning page may appear. Click I accept the risk! to continue to the about:config page.

Search for security.sandbox.content.level and set it to 2.

Restart Firefox.

more options

Thank you for your very quickly answer !

I tried but not working: don'play !!

I have also tried to set it to 1 but .. nothing: not working (obviously I have restarted FF after the modifications)

Maybe is a bug ?

Emilio

more options

Report bugs @ https://bugzilla.mozilla.org -- you will need to make an account, once you have done so follow the documentation for bug filing to get you started.

more options

Thank, I just done.

I have also prepared a test page (you can see at www.etelindustriale.net/test_audio.htm

The page have many java script ... maybe the problem is an "interference" between one script and another ...

I have not tested on mobile version, but I will be in the next days.

由 e_defranco 於 修改