Jump to content

Editor strips off/modifies embedded code


Recommended Posts

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

  • 4 weeks later...

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

  • 4 weeks later...

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

  • 3 months later...

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

×
×
  • Create New...