paleoglobe Posted April 25, 2014 Share Posted April 25, 2014 Hi all, I am trying to add video to my product description. I click the icon and get the possibility to add using a link or iframe code. both don't work. If i add them, i see an image of a questionmark, but when i click 'save' I get following notice: 'the field description (dutch) is not valid'. Hope someone can help me. Thanks Christophe 1 Link to comment Share on other sites More sharing options...
vmarkovic Posted April 25, 2014 Share Posted April 25, 2014 Hi Christophe,I also had that issue, then I followed Vekia`s Extended tinyMCE rich text editor guide and solved it.Regards,Vedran Link to comment Share on other sites More sharing options...
vekia Posted April 25, 2014 Share Posted April 25, 2014 if you use only <iframe> you can switch option under preferences >general tab there is an option to allow iframes on description fields. turn this option of (allow iframes) 7 2 Link to comment Share on other sites More sharing options...
paleoglobe Posted April 26, 2014 Author Share Posted April 26, 2014 thanks, that did the job indeed vekia. What is the reason why prestashop says that they suggest to have this option off? Link to comment Share on other sites More sharing options...
vekia Posted April 26, 2014 Share Posted April 26, 2014 i bet on latest changes in browsers related to ssl connections. this feature was added about a year ago. in april 2013 major browsers use feature named "mixed content filtering". This feature blocks external contents included to website - only if they are included without ssl connection to secured websites. At the moment, you can use iframe videos from youtube without any problems, don't worry - everything will work fine, Youtube is secured with ssl 3 Link to comment Share on other sites More sharing options...
จอมเทพไซเบอร์ Posted June 30, 2014 Share Posted June 30, 2014 (edited) if you use only <iframe> you can switch option under preferences >general tab there is an option to allow iframes on description fields. turn this option of (allow iframes) and you must change (classes/Validate.php) public static function isCleanHtml($html, $allow_iframe = false) to public static function isCleanHtml($html, $allow_iframe = true) *** เลือก = Select *** เปลี่ยนเป็น = Change to Edited June 30, 2014 by Jormthepcyber (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted June 30, 2014 Share Posted June 30, 2014 hello on my website you can find several guides related to tinymce and validate funciton there i described step by step what to do unfortunately i don't understand picture that you attached 1 Link to comment Share on other sites More sharing options...
mkobur Posted July 19, 2014 Share Posted July 19, 2014 (edited) Hi Vekia, When I added youtube embed on Prestashop1.6.0.7 cms page then i see "?" Site name: http://shop.vogue-visage.com/ Please help me. Thanks Edited July 19, 2014 by mkobur (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2014 Share Posted July 20, 2014 hello how you're trying to embedd video? you use some tinymce feature to embed videos? Link to comment Share on other sites More sharing options...
Kim Maarup Posted July 21, 2014 Share Posted July 21, 2014 I have same problem. It worked in Presta 1.4. Just inserted the embedde code from the Youtube file. Now in 1.6 I get the same error, and nothing shows. Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2014 Share Posted July 21, 2014 there are two possibilities: 1) html purifier is turned on - if so, turn it off 2) your shop doesnt allow to use iframes preferences > general and turn on option to allow iframes 1 Link to comment Share on other sites More sharing options...
tamethebull Posted July 28, 2014 Share Posted July 28, 2014 I had the same error when using the embed tool to put in a youtube video. I turned on 'accept frames' in preferences and it worked great. thanks! Link to comment Share on other sites More sharing options...
Slumdog Posted August 12, 2014 Share Posted August 12, 2014 Hi, I cannot disable HTML purifier... I click disable-> Save....When I navigate to other menu in BO and then comeback to Preferences->General the HTML Purifier is still activated. I have tried in Firefox, Chrome, different hosting providers.....same result... please help... Link to comment Share on other sites More sharing options...
Slumdog Posted August 12, 2014 Share Posted August 12, 2014 solved.. just upgraded to 1.6.9 and this solved the problem...thx. Link to comment Share on other sites More sharing options...
vekia Posted August 12, 2014 Share Posted August 12, 2014 than kyou for informations i think that your problem was related to fact that option to activate purifier was doubled in ps_configuration table anyway, glad to hear that it started to work Link to comment Share on other sites More sharing options...
maoma Posted October 28, 2014 Share Posted October 28, 2014 Hello, I have a problem. I would like to add a film from our partner website to mine. I try to paste it in long product description by add video, but when I paste the link and save I have problem with flash (I see the film in description, but when I turn play it doesn't start). Could sb help me? (P.S: yes, I switch on iframe) Link to comment Share on other sites More sharing options...
Recommended Posts