Open 0xbaha opened 3 years ago
This seems like some sort of network error with YouTube — it looks like the plugin is configured properly and judging by the screenshot of the markup it's producing the expected HTML output.
Perhaps your network has the default youtube-nocookie.com
domain blocked for some reason?
Are you able to open either of the following URLs successfully?
If it's a problem with youtube-nocookie
then you can use the standard youtube.com
URLs by setting noCookie
to false
:
eleventyConfig.addPlugin(embedEverything, {
youtube: {
options: {
noCookie: false
}
}
});
Hope this helps sort things out. I'll leave this issue open for a couple days — please leave a comment if you figure it out so future searchers can find the solution!
Thank you for your reply!
I can open both these URLs from my browser:
But, when I tried to play, they said this:
I also had tried update the setting for the noCookie
to false
. But, the embedded video still didn't show.
I thought it happened because the above video did not allow embedded. Then, I tried another video that allowed for embedding. After that, I tried again and still got the same result.
I tried to deploy in my local, Cloudflare Pages, and Netlify. All of them give the same result (the embedded video did not show).
Hi! Thank you for this amazing plugin.
I have a question. I already follow every instruction in the README file, but no embedded video, instead only link and the notification "This content is blocked. Contact the site owner to fix the issue."
FYI
Attachment