How to Embed Video in WordPress

One way to build engagement on your membership site and keep visitors for an extended period of time is by adding videos.

But how do you go about doing it?

Thankfully, if you use WordPress, it isn't as difficult as you think. In this post, we'll explain how to embed video in WordPress in a flash. Let's get started!

How to Add Video to WordPress Pages or Posts

One of the best things about WordPress is its “auto-embed” feature. This cool feature allows you to embed videos automatically in a blog post, so you never have to worry about finding and adding the video embed code.

As you're writing or editing your post or page, find the place within your post or page where you'd like to add the video. Then copy and paste in the video URL. WordPress' auto-embed feature will capture that video's embed code and embed the video for you just like that!

Embed a video using a URL in WordPress

You can even edit the width and alignment of the video and add a caption in the WordPress editor.

Keep in mind: This feature ONLY works with allow-listed video services, such as YouTube, Vimeo, Amazon, and Hulu. For a video service that isn't allow-listed, you'll have to manually embed the video's code into your post or page.

You can also embed a YouTube video using the YouTube insert feature in WordPress:

embed a youtube video in wordpress

Simply enter the video's URL, and click Embed.

Helpful Tip: If you want to make sure “related videos” don't show up at the end of your video, just add ?rel=0 to the end of the URL.

How To Embed A Video In A Page's Sidebar

Embedding a video in your WordPress membership site's sidebar may seem complicated, but it's a lot easier than you think.

In your WordPress dashboard, go to Appearance > Widgets. You'll then find the sidebar area where you want your video to appear. Drag the “Text” widget to the sidebar area of your choice and paste the video URL in the content section. Just as it did in the blog post, WordPress will automatically embed the video in your sidebar.

WordPress Appearance Widgets

WordPress will also generate a preview of how the video will look in your sidebar so you can see it before it goes live. If you're happy with the way your video looks, click Save, and you're all set!

Final Thoughts

As you can see, embedding a video in your membership site's blog post, page, or sidebar is not nearly as difficult as it may seem, especially with WordPress' auto-embed feature. This feature also works if you're still using the WordPress Classic Editor. The only difference in Classic Editor is that you can't make any significant adjustments to the post like you would if you were using the Gutenberg editor.

To learn more about using video in your WordPress membership site, check out How to Make a Video Membership Site and How to Increase Membership Site Engagement with Video,

If you liked this article, be sure to follow us on Facebook, Twitter, Instagram, and LinkedIn! And don't forget to subscribe in the box below.

Affiliate Link Disclosure

About Jessica Starks

Jessica is a creative entrepreneur and professional writer who strives to use her talents to both entertain and educate. In her spare time, she loves reading, writing, genealogy, and spending time with her family.