admin管理员组

文章数量:1134571

If I'm adding a WP post and paste a URL for a public or unlisted YouTube video, the video appears normally embedded when the post is live (a standard YouTube player that the reader can click on and watch the video).

However, if the video is private at the time a post is scheduled and the video is later published prior to the post going live, only a bare URL is shown.

The scenario is scheduling both YT and WP content ahead of time. If you schedule a YouTube video to go public Monday at 1pm, it's set to private. If a Wordpress post embedding that video is scheduled and goes public at 2pm, it still shows a bare URL. If you create the post fresh at 2pm, or if you go in and update the post at 2pm, the video is embedded as usual.

Is there a way to have Wordpress embed the video at time of publication instead of at time of scheduling?

本文标签: Embedding YouTube Videos at Time of Publish Instead of Time of Schedule (Bare URLS Make Me Sad)