Skip Navigation

[Closed] YouTube embed only works if page is saved as a draft.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 3 voices.

Last updated by Waqar 1 year, 8 months ago.

Assisted by: Waqar.

Author
Posts
#2598921

I'm trying to use the embedded media field to show a YouTube video. This page here: hidden link has the url hidden link entered into the field.

The video will display when the page is saved as a draft. If it's published the video does not display.

Any help is appreciated and let me know if you need more info.

#2599165

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

That sounds odd, and I don't know how the post status being publish rather than draft could account for the video not displaying.

I created a demo on one of our test sandbox sites to show it working as expected, using your youtube URL.

You can see the page in question here: hidden link

And you can log in to the back end to see how it is set up with this link: hidden link

I suggest on your site you try re-testing on a minimal install, with all plugins except Toolset disabled and using a standard theme such as twentytwentyone.

#2599271

Thank You.

OK, so it was the Siteground Optimizer plugin. More specifically the defer javascript feature. I've disabled it to get the YT embed to work, but other YT embeds work fine without that turned off. What do I have to exclude from deferring so I can have the optimization going for the rest of the site, but still be able to use toolset YT embeds?

#2599641

Hi,

Thank you for sharing this update.

I've performed some tests on my website with the 'SiteGround Optimizer' plugin, but couldn't reproduce this issue.

Can you please share temporary admin login details of a website, where this issue can be reproduced? I'll be in a better position to suggest the next steps accordingly.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

The topic ‘[Closed] YouTube embed only works if page is saved as a draft.’ is closed to new replies.