Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio in html5 not working in FF4/Safari

I got this audio link in my html5 document:

   <audio 
      src="http://sverigesradio.se/topsy/ljudfil/3017771.m4a" 
      type="audio/mp4" 
      controls="true" 
      preload="metadata" 
      title="Senaste sändningen från Radiosporten">
   Senaste sändningen från Radiosporten</audio>

It renders properly in chrome, but in FF4 it first flashes the controls normally and then I get a big "X". In safari, it seems to hang while reading metadata.

Is there a problem with my audio-tag or with the audio-file? Is the redirect a problem?

like image 324
Jonas Lincoln Avatar asked Apr 10 '11 14:04

Jonas Lincoln


1 Answers

Firefox doesn't support MP4 audio, it supports OGG audio only.

like image 106
Ian Devlin Avatar answered Nov 14 '22 22:11

Ian Devlin