mostlyharmless Posted June 29, 2016 Share Posted June 29, 2016 Hello.Ive been looking for a bit around and cant seem to find a solution for this.I want to add a player to the description field on some products.So i went to source-code and put in: <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> All that gets put out tho is:"Your browser does not support the audio element."Is there a way to make it use the HTML? Link to comment Share on other sites More sharing options...
musicmaster Posted June 29, 2016 Share Posted June 29, 2016 Did you look at the source code of what is put out? It may be that some Prestashop filter removed some of your tags... Link to comment Share on other sites More sharing options...
mostlyharmless Posted June 29, 2016 Author Share Posted June 29, 2016 it did, basicly it removed all the code bits.Which is why i wanted to know if it is possible to do in some way. Link to comment Share on other sites More sharing options...
musicmaster Posted June 29, 2016 Share Posted June 29, 2016 In Preferences->General you have an option to allow iframes and an option to use html purifier. You could experiment with those settings. 1 Link to comment Share on other sites More sharing options...
mostlyharmless Posted June 30, 2016 Author Share Posted June 30, 2016 i did see that one, but that would leave any text field (incl frontend) insecure. Link to comment Share on other sites More sharing options...
musicmaster Posted June 30, 2016 Share Posted June 30, 2016 I haven't tested the purifier. but at least with the iframes it is so that the test takes place when you enter the data. So once you have entered the data you can switch the protection on again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now