Jump to content

Unable to save product descriprion after I add iframe


Recommended Posts

Hi,

 

Im using Prestashop 1.5.6.0 and when i try to add a iframe to product description i get a 404 error . Is the same using HTML or insert media button . The funny part is that I have the site on mylocalhost as well and everything is working fine there .

Could be something from my hosting ?

Dose anyone have any ideas ?

 

Thanks
 

 

Link to comment
Share on other sites

preferences > general

there is an option to accept iframes in html fields (descriptions, cms editor etc.)

accept it - then everything should work.

Vekia,

 

that option is set to yes and still dosen't work!

The think is that I don't understand why on my localhost ( backup from the main one .. ) the iframe is working fine and on the main one i get the 404 error!! same ps in both location .

Edited by smoke (see edit history)
Link to comment
Share on other sites

Yes,  I use friendly url and is the same with test <iframe>test test</iframe>  or any others

Here is a sample of the iframe from HTML

<p><iframe src="//www.youtube.com/embed/qg4MxKEOg-E?feature=player_detailpage" frameborder="0" width="640" height="360"></iframe></p>

Edited by smoke (see edit history)
Link to comment
Share on other sites

Hi guys ,

 

I finally mange to get the video working and get the product description saved without getting the 404 error by using the old embed code:))  :huh:

but still can't figured out why on my localhost the new embed code is working ok and on the main site I have to use old embed code :)) as I mentioned above on my localhost is the backup from main site :)) :huh:

 

Sample:

 

<object width="420" height="315"><param name="movie" value="//www.youtube.com/watch?v=C3N_bnc6dn4?hl=en_US&version=3&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/watch?v=C3N_bnc6dn4?hl=en_US&version=3&rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Edited by smoke (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...