WordPress Youtube Embed Not Working in 2022

Published by Justin on September 13, 2022
Last Updated: September 13, 2022 | Reading Time: 2 minutes

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!

Written by Justin
Justin is the founder of Gold Penguin, a web design and marketing agency that helps businesses achieve their online goals. Justin has a passion for web design and marketing, and he loves working with clients to help them grow their businesses.

Comments

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
Made with 💛 by Gold Penguin © 2022