Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Youtube Embed Not Working Rate Topic   - - - - -

 

Posted 01 November 2017 - 10:52 AM #1

Everytime i try to embed a youtube video in a product description it goes away once product is updated. Have looked all over but can't find a viable answer as to why it is happening. Any info would be great. 

 

Thanks, 

 

Adam



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 548 posts

Posted 01 November 2017 - 11:31 AM #2

Where and how do you exactly put the embed code?


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 01 November 2017 - 01:11 PM #3

It works on the demo

 

http://prntscr.com/h4t3hh

 

1. Do not forget to switch WYSIWYG editor to the Source code mode

2. Try to change WYSIWYG editor


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 548 posts

Posted 01 November 2017 - 01:37 PM #4

It works on the demo

 

http://prntscr.com/h4t3hh

 

1. Do not forget to switch WYSIWYG editor to the Source code mode

2. Try to change WYSIWYG editor

 

Yes, it works on the demo page with Redactor as with TinyMCE as well. Also it remains still there after you re-open and update the product.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • Magpie Don
  • Senior Member
  • Members
  • Join Date: 01-Apr 09
  • 809 posts

Posted 01 November 2017 - 07:33 PM #5

I disable the WYSIWYG editor, under Administration, when I have to edit a page, tab, or product that will include embedded YouTube video.

I find that all of them will modify the code, regardless of switching to the source code mode. All you have to do is open it up in the WYSIWYG editor and save it - and the editor will "auto-correct" the code - breaking it. Just look at the code again, after you've saved it, and you'll see it's broken.

Some editors I've used with Drupal allowed me to prevent them from auto-correcting tags, which I could define myself.


CS-Cart Ultimate ver 4.3.5


 

Posted 05 November 2017 - 01:58 PM #6

I still can't get it to work trying all of the above.


I am trying to put a youtube video in the product description.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 06 November 2017 - 07:39 AM #7

I still can't get it to work trying all of the above.


I am trying to put a youtube video in the product description.

 

What video are you trying to add? May be the issue is related with this video only?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 07 November 2017 - 11:19 AM #8

I can't get any youtube video to work, clothing reviews or fishing tackle reviews. 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 07 November 2017 - 01:45 PM #9

I can't get any youtube video to work, clothing reviews or fishing tackle reviews. 

 

It is required to examine issue on your server as it works on the demo


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 07 November 2017 - 04:43 PM #10

What issue exactly would you suggest looking for, or setting i would imagine. Ive seen it work on other sites, can't say after reading all the forums and docs that I would know what or where to start.

 

Thanks eComLabs



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 08 November 2017 - 06:36 AM #11

Please contact CS-Cart support team with this issue

 

https://helpdesk.cs-cart.com


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Angeltown
  • Advanced Member
  • Members
  • Join Date: 05-Feb 15
  • 133 posts

Posted 19 November 2017 - 08:37 PM #12

We had this same issue, and if I remember correctly have you to disable the sanitize html option in config.local.php, otherwise it will continue to strip out "unauthorized" html.  

 

'sanitize_user_html' => false,


CS-Cart 4.4.3 & CS-Cart Multi-Vendor 4.5.2


 

Posted 21 December 2017 - 09:46 PM #13

I changed it to false and it didn't do anything. Any other suggestions.



 
  • Angeltown
  • Advanced Member
  • Members
  • Join Date: 05-Feb 15
  • 133 posts

Posted 22 December 2017 - 12:52 AM #14

I changed it to false and it didn't do anything. Any other suggestions.

 

Did you completely clear the cache afterwards? 

https://yourdomain.com/youradminurl.php?cc&ctpl

CS-Cart 4.4.3 & CS-Cart Multi-Vendor 4.5.2


 

Posted 17 March 2018 - 09:07 AM #15

I changed it to false and it didn't do anything. Any other suggestions.

You have to remove the quote '......':

YES

'sanitize_user_html' => false,

NO

'sanitize_user_html' => 'false',