So, I have been testing out the <audio> tag and am having some trouble. I see Remy Sharp’s shiv (http://html5shiv.googlecode.com/svn/trunk/html5.js) which helps quite a bit for Firefox, Chrome, etc. However, I am having trouble getting the tag to work in older versions of IE. I’ve found that if I use the <embed> tag, it works just fine in IE, but then there’s the problem where the embedded player is visible in other browsers as well. What can you advise for a scenario like this where only one player shows?
<section>
<h2>Audio Control Test</h2>
<audio controls=”controls”>
<source src=”tracks/song.ogg” type=”audio/ogg” />
<source src=”tracks/song.mp3″ type=”audio/mpeg” />
<embed src=”tracks/song.mp3″ type=”audio/mp3″ autostart=”false” loop=”false” />
Your browser does not support the HTML5 audio element.
</audio>
</section>
Let me know if you’ve found a workaround forĀ the <audio> tag to work in IE 7 or IE 8, by leaving me a comment.
