Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Html 5 audio


ErikMM

Recommended Posts

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?

Web Developer, Firebug, and Notepad++ are powerful free tools for web design.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...