I have youtube videos for a podcast that are scheduled to go live, and I’m trying to schedule a post with the video embed in it (using the video module) to go live at the same time. However, HubSpot is bound and determined not to let me do this. I’m getting an error that says “You can’t embed this media URL for sharing” and it won’t put the URL in the page, though it will save it in the module settings.I tried to schedule it anyways to see if by the time the page goes live the video would work, but indeed it did not, I had to go back in and save the module again and publish.I know HubSpot is trying to be “smart” but the video will be published when the post is published.After further testing it looks like I can put in an embed code with my unpublished video and it will save, but it won’t use the video thumbnail and it also doesn’t fill the space like I can set it with the oembed option.I figured I can clone and modify the plugin to where it takes that check out, or maybe add a new field for the URL in the module that has no such check in place yet, but I’ve been having some trouble making those updates and getting them to work. I think probably the first solution of not allowing the url to save if the video is unpublished would be the cleanest solution … any idea how to go about doing that?
Looks like you are trying to embed a private YouTube video onto a web page, which likely won’t work. You may have to change the video privacy settings from “private” to “unlisted”.
Google support doc on how to update video privacy:
I may have found a workaround with the embed code. It still doesn’t allow you to use the thumbnail image, but I will test it in a couple weeks when I need to schedule the next podcast. I may do a test sooner than that if I have time.
If anyone can figure out how to make the oembed work with private videos (that will eventually become public videos), that would still be very helpful!