Embedded YouTube video keeps disappearing on product page

I have a YouTube video we made to promote a specific product, but the video embed code keeps disappearing.

This is what I’m putting in the beginning of the product description:

[x_video_embed no_container="true"]<iframe width="1280" height="720" src="https://www.youtube.com/embed/EFW5Uii0abk?rel=0&amp;showinfo=0&amp;ecver=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>[/x_video_embed]

It works for about 20-30 minutes and then disappears, every single time. When I go back in to edit I just see this:

[x_video_embed no_container="true"][/x_video_embed]

What’s going on? How can I make it stick?

Hi There @bhamrick

Thanks for writing in! I have tested the exact code on my end and I can confirm that the code you’re using is accurate and it should function properly.

Can you follow some basic troubleshooting guidelines below and see if that helps.

  1. Check your WordPress core version and make sure that you’re using the latest version. You can check the latest WordPress version from here (http://wordpress.org/download/) and follow the update guide here (https://codex.wordpress.org/Upgrading_WordPress).
  2. Also it’s important to use the latest X/Pro theme version and relevant compatible versions. You can refer to our version guide here (https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195) and update accordingly by following this guide (https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62).
  3. If you’re using a child theme on your site and if you have added any customizations, try switching to your parent X/Pro theme and test your issue again.
  4. Check for a plugin conflict by disabling your 3rd party plugins. If the issue resolved, you can then activate your plugins one by one to see which plugin cause the issue.
  5. If you have added any custom JavaScript into your X/Pro -> Theme Options -> JavaScript area, try removing them temporarily and test your issue.

Also if you’re using a caching plugin, make sure to purge your server cache and clear your browser cache before testing.

This should help you to isolate your issue.

Let us know how it goes.
Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.