0
votes

I've uploaded a mp3 file to Wowza and now I'm trying to play it using the HTML5 audio tag. However, it just doesn't work.

Here's how my HTML code looks like:

<audio controls>
  <source src="http://example.com/vods3/_definst_/mp3:amazons3/videosciatech/testemp3/Kalimba.mp3/playlist.m3u8" type="audio/mpeg">
</audio>

Chrome: play button is disabled
Firefox: player disappears
IE: player displays "Invalid source" error message

Am I doing it wrong? What's the proper way of doing this?

Edit: I just found out it works in Safari for iPad! So now my question would be: how to make it work in other browsers?

1

1 Answers

1
votes

You're linking to a playlist... for HLS usage. Unfortunately, not many browsers support HLS.

Link to the MP3 file itself.