Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

How do I fix the HTML5 audio player code on my website?

  • 1 freagra
  • 5 leis an bhfadhb seo
  • 2 views
  • Freagra is déanaí ó cor-el

more options

I have a website, the URL is <theortegafamily.net> currently, and I use it for my music. I use the HTML5 audio player in the website, and you'll notice that on Firefox it works on the <theortegafamily.net/music.html> page, but not on the <theortegafamily.net/Our_Stuff/Nicolas/my_music.html> page. However, if you go to these two pages on Chrome, it does work.

I looked at the w3schools page on HTML5, and yes, I have all three audio formats there, you can even look at the code and you'll see that it's there.

So what I was wondering is if there's a simple way for me to just change the code on the website a little and it will work, or if it's a Mozilla problem and I'll have to wait for Mozilla to fix it.

I have a website, the URL is <theortegafamily.net> currently, and I use it for my music. I use the HTML5 audio player in the website, and you'll notice that on Firefox it works on the <theortegafamily.net/music.html> page, but not on the <theortegafamily.net/Our_Stuff/Nicolas/my_music.html> page. However, if you go to these two pages on Chrome, it does work. I looked at the w3schools page on HTML5, and yes, I have all three audio formats there, you can even look at the code and you'll see that it's there. So what I was wondering is if there's a simple way for me to just change the code on the website a little and it will work, or if it's a Mozilla problem and I'll have to wait for Mozilla to fix it.

All Replies (1)

more options

It isn't the code, but likely caused because the media files are encoded with an unsupported codec.

In the first link the .wav file is played (right click: copy audio location) because the ogg file doesn't work and mp3 is not supported by Firefox.

If you want the ogg links to work you will probably have to recode them with the Theora codec.