How to embed videos in WordPress blog posts

Share this:

In this beginner’s guide, we’ll show you ways to simply embed videos in WordPress blog posts, pages, and sidebar widgets.
WordPress makes it super easy to embed videos from video hosting sites like YouTube, Vimeo, Facebook, Twitter, and lots of others.

WordPress comes with an excellent feature called auto-embeds which allows your website to automatically get the embed code from popular video hosting services like YouTube, Vimeo, etc.

All you would like to try to do is paste the video URL into the WordPress editor.

For example, you’ll copy the YouTube URL for a video that you simply want to embed.

Next, edit the WordPress post or page where you would like to feature the video, and easily paste the URL within the content area.

Embed Element image for embed videos in WordPress blog

As soon as you paste the video URL, WordPress will fetch the embed code and display the YouTube video inside the content editor.

You can now save your post and click on on the preview button to ascertain the embedded video in your blog post.

Wasn’t that easy?

After you’ve got added the video, you’ll change its settings from the block toolbar and settings column on the proper.

You can adjust the video width, make it full-width, change alignment, and more. you’ll also add a caption and preserve the video’s ratio on mobile devices.

WordPress can only do auto-embeds for white-listed video services. For other websites, you’ll still need to obtain the embed code then paste it in your blog posts.

Here is a list of white-listed video services for auto embeds in WordPress:

  • Amazon
  • Animoto
  • Cloudup
  • CollegeHumor
  • Crowdsignal
  • Dailymotion
  • Facebook
  • Flickr
  • Hulu
  • Imgur
  • Instagram
  • Issuu
  • Kickstarter
  • Meetup.com
  • Mixcloud
  • Reddit
  • ReverbNation
  • Screencast
  • Scribd
  • Slideshare
  • SmugMug
  • Someecards
  • SoundCloud
  • Speaker Deck
  • Spotify
  • TED
  • Tumblr
  • Twitter
  • VideoPress
  • Vimeo
  • WordPress.tv
  • YouTube

If you want to add a video from a website outside this list, then you will need the full HTML embed code for the video.

Simply copy the HTML code provided by the video website and paste it inside a ‘Custom HTML’ block in the editor.

Embed Videos in WordPress Using Old Classic Editor

If you’re still using the old WordPress classic editor, then you’ll embed the videos in an equivalent way.

Simply copy the URL from a video hosting service like YouTube, and paste it within the editor. If you’re using the visual editor, then you’ll see a preview of the video.

However, you will not be able to use the width adjustment and other options that you can use in the new WordPress block editor.

How to Embed Videos in WordPress Sidebar Widgets

Just like a WordPress page or post, you’ll also embed videos in WordPress sidebar widgets.

Simply attend the Appearance » Widgets page and add the ‘Text’ widget to a sidebar. See our article on the way to add and use widgets in WordPress.

Inside the widget settings, you would like to stick the video URL within the content area. WordPress will automatically fetch the embed code and display the video preview.

Widget embed image for embed videos in WordPress blog

Don’t forget to click on the ‘Save’ button to store your widget settings.

You can now visit your website to see the video embed in the WordPress sidebar widget.

 

WordPress Video Embed Plugins

By default, you don’t get to use a plugin to embed videos in WordPress. However, you’ll want to use plugins to enhance the video viewing experience on your website.

The following are a couple of plugins that you simply might want to undertake.

1. Smash Balloon YouTube Feed

Smash ballon plugin for embed videos in WordPress blog

Smash Balloon Feeds for YouTube is one of the simplest WordPress video plugins. It allows you to automatically embed all of your YouTube channel videos during a customizable gallery format. It automatically imports new videos, combines feeds, adds live streaming, and more.

There’s also a free version of the YouTube feed plugin available by Smash Balloon

2. YouTube Subscribe Bar

Youtube subsribe bar plugin for embed videos in WordPress blog

YouTube Subscribe Bar shows a YouTube subscribe button below your YouTube video embeds in WordPress. It also fetches your YouTube subscriber count to feature social proof and encourage more users to subscribe.

We first created it to market WPBeginner’s YouTube channel on this website. Many of our users asked us to share how we did this, so we decided to release it as a free plugin.

Why can’t I upload the videos to WordPress?

Well, you can, but we don’t recommend you try to so.

Most small blogs use shared WordPress hosting accounts, and videos can take up tons of server resources. If your video got plenty of traffic, then your website is more likely to crash.

Secondly, you’re missing out on the traffic from YouTube users.

YouTube isn’t only the most important video hosting site, but it’s also the world’s second-hottest programand therefore the second hottest social network right after Facebook.

If you don’t want to upload your videos to YouTube, then you’ll try Vimeo or DailyMotion. See our comparison of YouTube vs Vimeo to ascertain which platform is best for your needs.

0
Share this:

About the Author

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts