How To Easily Embed Videos In WordPress Blog Posts

Get real time updates directly on you device, subscribe now.

Do you want to embed videos in your WordPress blog posts? Videos bring your website to life and they are a great way to increase user engagement.

WordPress makes it super easy to embed videos from video hosting sites such as YouTube,  Vimeo, Facebook, Twitter and many others.

In this beginner’s guide, we show you how to easily insert videos into WordPress blog posts, pages and sidebar widgets.

How to embed videos in WordPress Blog Posts and Pages

WordPress comes with a great feature called auto embedding that allows your website to automatically get the embed code from popular video hosting services such as YouTube, Vimeo, etc.

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

Then edit the WordPress post or page where you want to add the video and paste the URL into the content area.

As soon as you paste the video URL, WordPress retrieves the embed code and displays the YouTube video in the content editor.

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

Was that not easy?

After you have added the video, you can change the settings via the Blocking toolbar and the Settings column on the right.

You can adjust the video width, create its full width, change the alignment, and more. You can also add a caption and keep the aspect ratio of the video on mobile devices.

WordPress can only automatically embed for white-listed video services. For other websites, you still need to get the embed code and paste it into your blog posts.

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

  • Amazon
  • Animoto
  • Cloudup
  • CollegeHumor
  • Crowd signal
  • Dailymotion
  • Facebook
  • Flickr
  • Hulu
  • Imgur
  • Instagram
  • Issuu
  • Kick starter
  • Meetup.com
  • Mixcloud
  • reddit
  • Reverb Nation
  • 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, you need the full HTML embed code for the video.

Copy the HTML code that is offered by the video website and pastes it into a ‘Custom HTML’ block in the editor.

Embed videos in WordPress using the Old Classic Editor

If you still use the old classic WordPress editor, you can embed the videos in the same way.

Copy the URL of a video hosting service such as YouTube and paste it into the editor. If you use the visual editor, you will see a preview of the video.

However, you cannot 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 can also embed videos in WordPress sidebar widgets.

Simply go to the  View »Widgets page and add the ‘Text’ widget to a sidebar.

In the widget settings, you have to paste the video URL into the content area. WordPress automatically retrieves the embed code and displays the video preview.

Do not forget to click on the ‘Save’ button to save your widget settings.

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

Why can’t I upload the videos to WordPress?

That is possible, but we do not recommend that you do that.

Most small blogs use shared  WordPress hosting accounts and videos can take up many server resources. If your video has generated a lot of traffic, your website is more likely to crash.

Secondly, you miss the traffic of YouTube users.

YouTube is not only the largest video hosting site, but it is also the world’s second most popular search engine and the second most popular social network right after Facebook.

If you do not want to upload your videos to YouTube, you can try Vimeo or DailyMotion. View our YouTube vs Vimeo comparison   to see which platform is best for you.

WordPress Video Embed Plugins

By default, you do not need to use a plug-in to embed videos in WordPress. However, you may want to use plug-ins to improve the viewing experience on your website.

Below are some plug-ins that you may want to try.

1. YouTube subscription bar

YouTube subscription bar shows a YouTube button for subscribing under your YouTube video embedded in WordPress. It also raises the number of YouTube subscribers to add social proof and encourage more users to subscribe.

2. Envira gallery

By default, WordPress is not supplied with the integrated video gallery function. If you want to display a video gallery on a page, you need a plug-in to do that.

Envira Gallery is one of the best plug-ins for photo galleries for WordPress. It also comes with a video add-on that lets you create beautiful video galleries with pop-up support for lightboxes.

3. Lazy load for videos

The video includes load scripts from external websites, which has a small influence on the loading speed and performance of the page.

Lazy Load for Videos solves this problem by loading the video image only when loading the page. It only loads the embed code if the user clicks the play button.

Get real time updates directly on you device, subscribe now.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More