How to Embed Video in WordPress

1. Upload the Video to Your Media Library

The first step is to upload the video to your WordPress media library. To do this, go to the WordPress dashboard and click on “Media” in the left-hand menu. Then click on “Add New” and select the video file from your computer.

2. Copy the Video URL

Once the video has been uploaded, you will need to copy the URL of the video. To do this, go back to the “Media” page and click on the video file. Then, copy the URL from the address bar of your browser.

3. Embed the Video in Your Post or Page

Now that you have the URL of the video, you can embed it in your post or page. To do this, go to the post or page where you want to embed the video and click on the “Add Media” button. Then, paste the URL of the video into the “Insert from URL” field and click “Insert into post”.

4. Preview and Publish

Once you have embedded the video, you can preview it to make sure it looks the way you want it to. If everything looks good, you can then publish the post or page.

And that’s it! You have successfully embedded a video in WordPress.

Much like images, videos are fantastic tools to attract, engage, and bring back visitors to your website. Embedding videos can also help your page to rank better in Google Search.

Thus, we’d like to share some methods on how to embed videos in WordPress and show you a few plugins that will help you with video embedding. Let’s get started.

How to Embed Video in Posts or Pages

In this section, we will take a look at how to embed YouTube videos. Keep in mind that very similar steps apply to other popular video-sharing platforms as well.

oEmbed Method

oEmbed is a protocol that allows for embedding videos, images, text, and more by entering the source URL for the media you wish to embed.

It’s the easiest way to embed videos in WordPress and you don’t need any coding knowledge to do this. Here are the steps:

  1. Go to YouTube.
  2. Find the video you want to embed.
  3. Hover your mouse pointer to the URL bar and copy the video’s URL.
  4. Now, go to your WordPress visual editor.
  5. Paste the video’s URL and WordPress will automatically embed the video.

Example:

The embed video block in the WordPress block editor

Final result:


Iframe Method

The second method allows you to customize how your video will show up on your post or page. You can do this by following the steps below:

  1. Click the Share button above the subscribe button on a YouTube video.
  2. Click Embed.
  3. You will be presented with the iframe code and some options boxes. The first box will let you embed a YouTube video that starts at a specific time. To adjust the time you need to watch the video first and pause at the desired time. You can also include the player controls such as play/pause, volume, and the fast-forward button by checking the other boxes.
A YouTube video and its embed video Iframe code
  1. Copy the Iframe code and jump to the WordPress visual editor.
  2. Change from visual mode into the text mode and paste the embed code.

If you prefer adding your videos to your sidebar rather than inserting them in your post, follow the steps below to learn how to embed a video in the WordPress sidebar:

  1. Log in to your WordPress dashboard, go to Appearance -> Customize and click on Widgets.
  2. You may have multiple sidebar areas where you want to add your videos. Choose the preferred sidebar, and click the Add a Widget button.
  3. Now, type “video” in the search box.
  4. Click the Add Video button, and choose Insert from URL.
  5. Then, copy and paste the video URL from YouTube into the box.
  6. After the video preview appears, hit the Add to Widget button to confirm.
  7. You may enter the video title in the video widget on your left side.
  8. Lastly, click the Save & Publish button to go live.

WordPress supports auto-embeds for platforms other than YouTube. You can also embed your Facebook posts and tweets in your WordPress. Below is a list of platforms that support the auto-embed feature by WordPress.

  • Vimeo
  • Flickr
  • DailyMotion
  • Hulu
  • Instagram
  • Photobucket
  • Reddit
  • Scribd
  • SlideShare
  • SoundCloud
  • Spotify
  • TED
  • Tumblr
  • wordpress.tv
  • WordPress plugin directory

Why You Should Not Upload Videos to Your Hosting Account?

Why not simply upload videos to your website directly? There are a couple of reasons for it, which we will address below.

Minimize Server Resource Usage

Uploading your videos will take up your server’s resources. Moreover, if your site is hosted on a shared hosting server, you will also impact other websites that share the same resources as you do. Managing videos may also require additional plugins, which will, in turn, hog your resources as well. As a result, the performance of your site will suffer, which can be avoided by embedding your videos.

Get More Traffic, Visibility, and Shares

YouTube is the third most visited website in the world. Thus, uploading your video to Youtube will generate more visitors and traffic, rather than uploading it to your own site. It is also easier to manage your videos via YouTube as well.

Video Embedding Plugins

You have learned that the process of embedding videos in WordPress is easy to understand and work with. However, these embedding video plugins below may help you to embed and manage your videos even better.

1. Videopack

This free WordPress plugin is a perfect choice if you want to turn your website into one that is video-based. By using this plugin, you’ll gain access to several different video players such as Video.js, Mediaelement.js, JW Player 6, or Adobe Strobe Media Playback Flash Player.

The videos will be resized and fit neatly into your website’s design no matter which player you choose. This plugin will also generate the video thumbnail.

2. Presto Player

Presto Player is a premium WordPress plugin that can take website video to a whole new level. It can play videos from a range of sources and provides a slick audio and video player you can fully control.

Presto Player provides support for video chapters, email opt-ins, calls to action, Google Analytics, muted autoplay, private videos and integrations with leading LMS and email marketing platforms.

3. ARVE Advanced Responsive Video Embedder

This plugin may be the most complete plugin to support video embedding on WordPress. This SEO-friendly plugin can specify the title, description, and upload date of an embedded video, which will help you with indexing.

As the name suggests, responsive video embedding is supported as well. All of this is available without further complicating the embedding method, as you can paste the URL the same as you do with the oEmbed method.

4. YouTube Embed

This embedding plugin is made specifically for those who frequently embed videos from YouTube. YouTube Embed has some interesting key features. You can make your own video playlists, and recommend them based on the user’s search history. This plugin also supports dynamic video sizing which fits together perfectly with any responsive themes.

Conclusion

Videos enrich your content and bring value to your website. Although you can upload your videos, embedding videos is recommended. Since you’ve just learned some methods to embed videos to your website and now know about a list of plugins to manage them, why not give it a try?

Do you have any experience in embedding videos on WordPress? Share them with us in the comment section below.

Embed Video in WordPress FAQ

Learn the answers to frequently asked questions about how to embed video in WordPress.

Can I Embed MP4 in WordPress?

Yes, you can embed an MP4 video in WordPress. First, upload the MP4 file to your WordPress media library by visiting Media → Add New in your WordPress dashboard. Get a shortcode by clicking on the Insert into post link to add the embedded file in your posts or pages.

Can I Embed Video for Free in WordPress?

Yes, it is possible to embed videos for free in WordPress. The CMS has an extensive library of free video hosting services like YouTube, Vimeo, and Dailymotion, to choose from. In addition, it is possible to upload your own videos directly onto the WordPress dashboard.

Why Is My Video Not Embedded in WordPress?

Check the settings to make sure that you allow embeds in your WordPress site. Head to Settings → Media, and under Embeds, check the option When possible, embed the media content from a URL directly onto the page.

How to Embed Video in WordPress

Embedding videos in WordPress is a great way to add visual content to your website. Videos can be used to explain complex topics, showcase products, or simply entertain your visitors. Fortunately, WordPress makes it easy to embed videos from popular video hosting sites like YouTube, Vimeo, and Dailymotion.

Embedding Videos from YouTube

The easiest way to embed a video in WordPress is to use YouTube. All you need to do is copy the URL of the video you want to embed and paste it into the WordPress editor. WordPress will automatically detect the URL and embed the video into your post or page.

If you want to customize the video, you can click on the “Edit” button that appears when you hover over the video. This will open up a popup window where you can adjust the size of the video, add a caption, and more.

Embedding Videos from Vimeo

Vimeo is another popular video hosting site that you can use to embed videos in WordPress. To embed a Vimeo video, simply copy the URL of the video and paste it into the WordPress editor. WordPress will automatically detect the URL and embed the video into your post or page.

If you want to customize the video, you can click on the “Edit” button that appears when you hover over the video. This will open up a popup window where you can adjust the size of the video, add a caption, and more.

Embedding Videos from Dailymotion

Dailymotion is another popular video hosting site that you can use to embed videos in WordPress. To embed a Dailymotion video, simply copy the URL of the video and paste it into the WordPress editor. WordPress will automatically detect the URL and embed the video into your post or page.

If you want to customize the video, you can click on the “Edit” button that appears when you hover over the video. This will open up a popup window where you can adjust the size of the video, add a caption, and more.

Conclusion

Embedding videos in WordPress is a great way to add visual content to your website. With just a few clicks, you can easily embed videos from popular video hosting sites like YouTube, Vimeo, and Dailymotion. If you want to customize the video, you can click on the “Edit” button that appears when you hover over the video to adjust the size, add a caption, and more.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Contact
San Vito Al Tagliamento 33078
Pordenone Italy
Item added to cart.
0 items - 0.00
Open chat
Scan the code
Hello 👋
Can we help you?