How to Embed Video in WordPress? 5 Easy Ways With Examples

Adding video to your WordPress website is a great way to engage your visitors and add an element of multimedia to your site. Many web users enjoy watching videos, and by embedding videos into your site, you can give them another reason to visit.

There are several ways to add videos in WordPress:

5 Ways to Embed Video in WordPress

  1. oEmbed
  2. Video blocks
  3. Iframe embeds
  4. Widgets
  5. Plugins


WordPress has a built-in feature called oEmbed that allows you to embed videos from popular video hosting providers such as YouTube, DailyMotion, Vimeo, Facebook, etc.

To use oEmbed, paste the URL of the video you want to embed on its line in your post or page content. WordPress will automatically fetch the embed code from the video hosting provider and display the video in your post or page.

For example, below, you can see how to embed a YouTube video in Wordpress:

1. Copy the URL of the Youtube video you want to embed:

2. Paste the copied URL into your post:

Video Blocks

Embed Block

There is another way to add a video to your post using a URL. To do this, go to the post editor, click the (+) button, and in the search console, select the “Embed” block and paste the URL of the video you want to add to your site.

If you want to know how to embed a Vimeo video in Wordpress or how to embed a Facebook video in WordPress, you can use the Video Blocks method. This method can be used for some third-party sites. You can read the complete list below.

List of Sites You Can Embed Video Using Video Blocks

YouTubeYouTube BlockWordPress 2.9
Amazon KindleAmazon Kindle BlockWordPress 4.9
AnimotoAnimato BlockWordPress 4.0
CloudupCloudup BlockWordPress 4.4
DailyMotionDailyMotion BlockWordPress 2.9
FacebookFacebook BlockWordPress 4.7
FlickrFlickr BlockWordPress 2.9
ScreencastScreencast Block
TEDTED BlockWordPress 4.0
TikTokTikTok Blockwordpress 5.4
VideoPressVideoPress BlockWordPress 4.4
VimeoVimeo BlockWordPress 2.9 BlockWordPress 2.9

Video Block to Upload Video from Your Media Library

If you want to upload a video to a post from your device or media library, you can select the “Video block” option and upload the video. After you finish, hit the Preview button to view your changes or click Publish to post your content.

Iframe Embeds

Iframe embeds are snippets of code that can be copied and pasted from a video hosting provider’s website. So first, you need to find these code snippets. For example, to find a YouTube Iframe embed, do the following:

  1. In a web browser, open YouTube and go to the video you want to embed.
  2. Click Share below the video.
  3. Click Embed.
  4. From the window that appears, copy the HTML code.

Once you have the code, you can add it to your post or page content using the HTML editor or Shortcode Blocks.

Iframe Embeds With HTML Editor

1. Switch to the HTML editor in the WordPress post or page editor.

2. Paste the copied HTML code wherever you want your video to appear in your post or page content.

3. Save your changes and preview your post or page to ensure the video looks the way you want.

Iframe Embeds With Shortcode Block

1. In the WordPress post or page editor, click the (+) button and select the Shortcode block.

2. Paste the copied HTML code into the Shortcode block.

3. Save your changes and preview your post or page to ensure the video looks the way you want.


Widgets are a great way to add content to your site without fiddling with code.

Go to Appearance » Widgets in the WordPress admin area and click the Plus icon to add a block.

Enter “Video” in the search bar. You will get many options to add videos: Youtube, TikTok, Dailymotion, or you can upload videos from your device.

After adding a link or uploading a video from your device, remember to Update Changes.


You can use one of the many plugins available to add video functionality to your site. A lot of plugins allow you to embed videos in wordpress.

TOP 5 Plugins to Embed Videos in WordPress

Envira Gallery

The Envira Gallery plugin is an excellent option for adding videos to WordPress. The plugin offers several advantages over other plugins. The first advantage is that this plugin allows you to create video galleries from YouTube, Vimeo, Twitch, Wistia, VideoPress, DailyMotion, and self-hosted videos. The second advantage is that this plugin allows you to customize the look of your embedded videos. The third benefit is that the Envira Gallery plugin has a built-in lightbox feature that allows visitors to view your videos in a lightbox popup.

Smash Balloon (YouTube Feed Pro)

The Smash Balloon YouTube Feed Pro plugin is a great way to organize your YouTube channel and give it a professional look. First, the service is straightforward to use and set up. Second, with this plugin, you can display video thumbnails in a sleek and stylish grid and customize the order in which they appear. You can also display your videos by popularity or most recent, and specify how many videos you want to show on each page. In addition, they provide the ability to filter YouTube videos by keywords. This plugin is perfect for those who want to showcase their YouTube channel in a more organized and stylish way.

YouTube Embed

The YouTube Embed plugin provides several benefits for those who want to embed YouTube videos on their WordPress site. The most notable use is that it allows you to easily and quickly embed videos without dealing with any code. In addition, the plugin also provides features such as the ability to automatically play a video when it is loaded and control the video’s size and dimensions. Overall, the YouTube Embed plugin is a handy tool for anyone looking to add YouTube videos to their WordPress site.

All-in-One Video Gallery

Some of the benefits of using the All-in-One Video Gallery plugin is that you can easily add, manage, and play video files on your wordpress website or blog. The plugin is highly customizable and allows you to change various options such as video size, player controls, autoplay, subtitles, etc. Moreover, the plugin supports multiple video formats, including MP4, WebM, OGV, and more. With this plugin, you can also embed video files from popular video-sharing websites like YouTube, Vimeo, Dailymotion, Facebook, and more.

Easy Video Player

Easy Video Player is a great WordPress plugin that comes with many advantages. One of the advantages is that it makes it easy to embed videos on your WordPress site. This can be done by simply copying and pasting the video URL into the plugin settings. Another advantage of Easy Video Player is that it provides several customization options, for example, changing the size, color, and other player options. In addition, the plugin includes some features, such as the ability to automatically play videos, loop videos, and display related videos. Finally, Easy Video Player is a great WordPress plugin for those who want to embed videos easily on their WordPress site.


As we have seen, embedding a video in a WordPress post is relatively easy. However, there are a few things to keep in mind. Make sure the video is high quality and hosted on a trusted site. Also, make sure you are using the correct video embed code.

That’s it! You should now have a video embedded in your WordPress post.

Scroll to Top