We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

On Firefox 38, android version 5.0, the <audio> html5 tag is not working

  • 2 个回答
  • 10 人有此问题
  • 10 次查看
  • 最后回复者为 vali123

more options

The audio tag does not working/playing on the latest Firefox version from Android 5.0, Samsung (SM-G900F) Js code: var mp3Path = "/music.mp3"; var _audioTagSrc = document.createElement('audio'); _audioTagSrc.src = mp3Path; _audioTagSrc.play();

I set the mp3 file to "src" attribute. I get from audio error event the error message saying that the mp3 is not supported.

The audio tag does not working/playing on the latest Firefox version from Android 5.0, Samsung (SM-G900F) Js code: var mp3Path = "/music.mp3"; var _audioTagSrc = document.createElement('audio'); _audioTagSrc.src = mp3Path; _audioTagSrc.play(); I set the mp3 file to "src" attribute. I get from audio error event the error message saying that the mp3 is not supported.

所有回复 (2)

more options

Is the device running Android 5.0? There is a know issue blocking playback on that version of Android.

more options

Yes, it's android 5.0 version. But on Android native browser and Chrome on the same device the audio is working.