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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Mp3 file plays by URL, but fails to play in audio tag.

  • 3 uphendule
  • 3 zinale nkinga
  • Igcine ukuphendulwa ngu soumyadipDe

more options

This URL, when hit directly, it plays.

But when embedded in audio tag, it fails to play and firefox shows "Media resource could not be decoded. All candidate resources failed to load. Media load paused."

Audio tag is implemented as,

<audio class="audio-player" controls><source type="audio/mpeg" src=""></source></audio>

Okulungisiwe ngu cor-el

All Replies (3)

more options

HTML is used as below.

<audio class="audio-player" controls> <source type="audio/mpeg" src=""></source></audio>

Okulungisiwe ngu cor-el

more options

I'm not sure what kind of file this is because the Network Monitor shows it as type audio/x-wav when used with the audio tag. When the URL is loaded via the location bar then the Network Monitor shows audio/mpeg. The decoder used with the audio tag might not recognize the file correctly.

more options

The "Content-type" in response header shows "audio/mpeg". Can you please let me know where you are seeing "audio/x-wav". Attaching screenshot.