Fallback To The Default If Source Is Invalid In AUDIO Tag
So I have a basic audio element. Say I have a single mp3 source. I'm using Firefox. The browser sees the audio tag, likes it, places the controls as directed, but doesn't like a
Solution 1:
Use the source tag to define multiple file types.
<audio controls="true">
<source src="demo.mp3" type="audio/mp3">
<source src="demo.ogg" type="audio/ogg">
<source src="demo.aac" type="audio/mp4">
<!-- If no support at all. -->
HTML5 audio not supported
</audio>
http://msdn.microsoft.com/en-us/library/gg589524(v=vs.85).aspx
Post a Comment for "Fallback To The Default If Source Is Invalid In AUDIO Tag"