How to Embed Youtube Videos in WordPress

It’s easy to embed Youtube videos in WordPress.

WordPress has been using oEmbed to enable auto-embedding from 3rd party sites for years. What does that mean?

It means you can copy & paste a Youtube URL into the post editor and the video will embed for you. Like this:

Say “goodbye” to ugly embed codes.

Embed non-Youtube Videos with WordPress Too

oEmbed isn’t only for embedding Youtube videos. You can embed videos from the following websites too:

Just like in the example above, you can copy and paste a video URL from any of these sites to insert them in a post.

WordPress doesn’t only auto-embed content from popular video sites like Youtube and Vimeo either. It also auto-embeds content from non-video websites like SoundCloud, SlideShare, Twitter, and more. You can view the full list of supported embed sites here.

Conclusion

You might already have a theme for your Youtube channel and plenty of subscribers.

Don’t get slowed down by struggling with embeds!

By simply copying & pasting the Youtube URL into the editor you can instantly embed your videos. This is just as easy with the classic editor as with the new Gutenberg post editor in WordPress 5.0.

Ben Sibley
Ben Sibley is a WordPress theme designer & developer, and founder of Compete Themes.

Take our 7-day Email Course for FREE

You'll learn how to make your WordPress site look better, load faster, and make more money.

Invalid email address
You'll get one email a day for the next 7 days

Disclosure: This post may contain affiliate links. Purchasing a product through one of these links generates a commission for us at no additional expense to you.