Youtube Embed Not Working

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

Where and how do you exactly put the embed code?

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

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.

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.

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.

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?

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

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

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

Please contact CS-Cart support team with this issue

https://helpdesk.cs-cart.com

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,

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

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

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',