If you need to display mp3 player with certain song on your product page in Prestashop, you can take advantage of HTML5 audio, supported in all modern browsers. First you have to go to Prestashop administration -> Preferences - General and disable HTMLPurifier Library (otherwise editor will strip the audio tags):
Poté editujte produkt a vložte následující kód pomocí html editoru:

<audio controls>
<source src=”http://www.yourdomain.com/mp3/Stromae-Papaoutai.mp3″ type=”audio/mpeg”>
Your browser does not support the audio element.
</audio>


Of course you have to copy the MP3 file to your FTP server, into the same folder as specified in the path. You should then see MP3 player on your product page:

Comments

This website uses cookies to enable it to perform properly. Details of the cookies and instructions on how to disable them can be found in the cookie policy. By using this website, you agree to our use of cookies.