Jump to content



Photo
- - - - -

Html 5 audio


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1   ErikMM

ErikMM
  • Members
  • 314 posts

Posted 09 August 2012 - 05:15

Anyone had luck with the new html5 audio controls showing and working?

The html5 code is simple:
<audio controls="controls">
  <source src="song.ogg" type="audio/ogg" />
  <source src="song.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
When the controls did appear the audio didn't play, though the audio was in the directory I put it.

Then the controls disappeared completely. They do show/appear for a fraction of a second when reloading an info page, then immediately disappear. They don't appear at all on a product page.

The goal is to have audio sample snippets on a product page where downloads of entire songs are so customers can listen before buying a download.

Any thoughts?

#2   ErikMM

ErikMM
  • Members
  • 314 posts

Posted 09 August 2012 - 05:43

works fine in chrome, not firefox