Jump to content

HTML5 Audio Player For Prestashop 1.4.8.2


jayb174

Recommended Posts

Hello,

 

I've been looking for a HTML5 compatible audio player for my shop version 1.4.8.2 to put audio files in product description and came across this code being used now for HTML5

 

<audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>


However, I'm still using Prestashop 1.4.8.2 and I don't have the option to disable the "HTMLPurifier Library". Every time I put this code into the product's description editor it disappears.

Can this code be modified to work in Prestashop 1.4.8.2 and not be stripped? If not, is there any other option for a HTML5 compatible audio player?

 

Thanks

Link to comment
Share on other sites

  • 4 weeks later...

Hi jayb174.  I want to also add an audio sample (with player) with every item I sell using code similar to yours. Did you figure out how to do it?  It seems it should work with the "Insert video" menu item of the "Short Description" section of the Product section of the Prestashop Dashboard (or some similar method.)

 

I saw the free module in this thread, and I'm aware of the paid modules, but there must be an easy way to do this in the dashboard itself.  Any help from anyone would be greatly appreciated!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...