Jump to content



Latest News: (loading..)

- - - - -

Html 5 audio


  • Please log in to reply
1 reply to this topic

#1   ErikMM

ErikMM
  • Members
  • 314 posts
  • Real Name:Erik M
  • Gender:Male

Posted 09 August 2012 - 05:15 AM

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
  • Real Name:Erik M
  • Gender:Male

Posted 09 August 2012 - 05:43 AM

works fine in chrome, not firefox