Gold Penguin Logo with Text

WordPress Youtube Embed Not Working in 2024

What happens when you're trying to embed youtube content and it's not working? We'll explore a few of the potential solutions to get your videos embedded properly in the Gutenberg editor.
Updated January 19, 2023

If you're a big fan of writing like we are, then you're probably using the Gutenberg editor on your WordPress site to manage your posts and pages. And if you're a fan of videos, then you're probably embedding YouTube videos into your content as well.

But what happens when you're trying to embed youtube content and it's not working?

Well, there could be several reasons why this is happening. In this article, we'll explore a few of the potential causes and offer some solutions to get your videos embedded properly in the Gutenberg editor.

Solution 1 - YouTube Embeds Not Allowed

The first thing you'll have to check is the individual YouTube video settings. Although this is not possible to do if the video isn't yours, it could be the easiest solution to fix if you accidentally have embed turned off.

To do this, go to the YouTube video in question and edit the video details. On the main details page, scroll down under the audience section and show more settings. Scroll down till you see license and ensure 'Allow Embedding' is checked.

youtube audience setting
youtube licensing settings to allow embedding of videos

If this was off, turn it on, and navigate back to your post on WordPress. Once again try to embed the video URL and see if that works.

Solution 2 - Use VideoPress over YouTube

VideoPress is a post block created by WordPress that gives you the ability to upload and host your own videos on your site. You can then play these videos within posts and pages using the Gutenberg editor.

Simply add a VideoPress block to your post, upload or select a video from your library, and hit publish. We've noticed the block will "update" into the YouTube block but it refreshes something and happens to load our videos correctly.

Conclusion

This very annoying bug can be circumvented using a few simple tricks! If you need to quickly fix your YouTube embeds on your WordPress site we hope either of these options work for you! Have you had this problem before? If you know any other ways to fix this, let us know in the comments!

Want To Learn Even More?
If you enjoyed this article, subscribe to our free monthly newsletter
where we share tips & tricks on how to use tech & AI to grow and optimize your business, career, and life.
Written by Justin Gluska
Justin is the founder of Gold Penguin, a business technology blog that helps people start, grow, and scale their business using AI. The world is changing and he believes it's best to make use of the new technology that is starting to change the world. If it can help you make more money or save you time, he'll write about it!
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
Join Our Newsletter!
If you enjoyed this article, subscribe to our newsletter where we share tips & tricks on how to make use of some incredible AI tools that you can use to grow and optimize a business
magnifiercross