I'm trying to use the embedded media field to show a YouTube video. This page here: versteckter Link has the url versteckter 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.
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: versteckter Link
And you can log in to the back end to see how it is set up with this link: versteckter 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.
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?
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
Das Thema „[Geschlossen] YouTube embed only works if page is saved as a draft.“ ist für neue Antworten geschlossen.