jumbo Posted May 24, 2014 Share Posted May 24, 2014 Hi All, I'm trying to do add an embedded video from Youtube (<iframe> tags) in the product's description field. When saving, prestashop returns an error that says: The description field (English (English)) is invalid. Plus the embed code gets stripped off, and sometimes modified. How can we resolve this? Link to comment Share on other sites More sharing options...
Paulito Posted May 24, 2014 Share Posted May 24, 2014 Good morning Have you gone to: Back office > Preferences > General > Allow iframes on HTML fields > Yes > Save I have just tried it: http://screencast.com/t/nkAKMXEtDrt4 http://screencast.com/t/faIz8buHfOo6 Result http://adultskunk.co.uk/index.php?id_product=1&controller=product&id_lang=1 Paul 2 Link to comment Share on other sites More sharing options...
jumbo Posted May 27, 2014 Author Share Posted May 27, 2014 Great, works! Thanks a lot! Link to comment Share on other sites More sharing options...
ceramictilepro Posted June 21, 2014 Share Posted June 21, 2014 Good morning Have you gone to: Back office > Preferences > General > Allow iframes on HTML fields > Yes > Save I have just tried it: http://screencast.com/t/nkAKMXEtDrt4 http://screencast.com/t/faIz8buHfOo6 Result http://adultskunk.co.uk/index.php?id_product=1&controller=product&id_lang=1 Paul after pasting the youtube embedded code and saving in addtion to configuring like your screencast, the result in the description section changes to: <p><iframe src="%5C" width="300" height="150"></iframe></p> this results in the frame viewable but with a 404 error PrestaShop version 1.6.0.8 Link to comment Share on other sites More sharing options...
papagino Posted July 17, 2014 Share Posted July 17, 2014 Same problem here, after pasting the youtube embedded code and saving in addtion to configuring like your screencast, the result in the description section changes to: <p><iframe src="%5C" width="300" height="150"></iframe></p> did you fix this problem? Link to comment Share on other sites More sharing options...
Paulito Posted July 18, 2014 Share Posted July 18, 2014 Hello Using PS 1.6.0.8 Default theme Did you go to: Back office > Preferences > General > Allow iframes on HTML fields YES > Use HTMLPurifier Library NO http://screencast.com/t/fuIOJXVd I have just tried it here: http://aissia.co.uk/index.php?id_product=1&controller=product Paul 1 Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2014 Share Posted July 20, 2014 yes, definitely it's a case of html purifier! disable it totally and DONT turn it on, never! it affects also prestashop official code. Link to comment Share on other sites More sharing options...
Vineet Girdhar Posted November 4, 2014 Share Posted November 4, 2014 Problem persists in prestashop 1.6 have done the following settings yet embed code video is not showing and a big question mark in white is there to irritate you.... Back office > Preferences > General > Allow iframes on HTML fields YES > Use HTMLPurifier Library NO Can someone help in resolving the issue Link to comment Share on other sites More sharing options...
Recommended Posts