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!

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

How do I get my HTML5 audio tag to work in Firefox 7.0.1, currently it doesn't even display the alternate text when the player cannot play.

  • 1 amsa
  • 7 sa na da wannan matsala
  • 3 views
  • Amsa ta ƙarshe daga cor-el

more options

This is my implementation of the audio tag.

<div class="music_player" oncontextmenu="return false;">
  <audio autoplay="autoplay" controls="controls" preload="auto">
    <source src="sample.ogg" />
    <source src="sample.mp3" />
    <span id="audio_error">This website has an audio sample, but cannot play using this browser.
      </span>
  </audio>
</div>
This is my implementation of the audio tag. <pre><nowiki><div class="music_player" oncontextmenu="return false;"> <audio autoplay="autoplay" controls="controls" preload="auto"> <source src="sample.ogg" /> <source src="sample.mp3" /> <span id="audio_error">This website has an audio sample, but cannot play using this browser. </span> </audio> </div></nowiki></pre>

An gyara daga cor-el

All Replies (1)

more options