YouTube Embed in Posts

[ad_1]

I’d like to embed YouTube videos into my blog posts. I know there’s a block to do this in the editor, but it only sorta works.

My website is dedicated to my podcast, and I use the blog to post links to the YouTube video, show notes, and show transcripts. To accomplish this, I use scheduled posts, and I can schedule months in advance.

When I upload and schedule a video, it’s marked Private on YouTube, and no one can view it, but the URL is available to me. When I embed this URL into a block, I get this:

**My problem** is that, when the post and video go live, I still get the just-the-text-URL and not the real embed, unless I go into the post and manually edit it somehow. Obviously, this is seriously sub-optimal because the entire point of scheduling posts is that I can put them up and then forget about them.

This is the output I want:

I understand that the video won’t actually be available and viewable until it goes live in YouTube; the WordPress post and YT video go live simultaneously, so that isn’t a problem. I just want the video to appear when it goes live as a regular embed without me having to dink with it after go-live.

I can’t make the YouTube video unlisted instead of private, because YouTube doesn’t support automatically scheduling an unlisted video to become public at some later date. It only supports making private videos public on a schedule.

**My question:** Is there a way, via a plug-in or any other tool, to do this correctly, such that the embed works as soon as the video goes live, without further intervention once I schedule the post?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer