How To Embed a Video in WordPress [Comparing Different Methods]

Having videos on your site can make it more shining and appealing. However, not every method of displaying a video is suitable. Since uploading a video into your website will cause heavy traffic on your server, and your website may crash. So stay with us as we are going to show you how to embed a video in WordPress.

 

What is the video embedding, and what is the difference with uploading one?

Embedding video is when you use other sharing hosts to display videos on your website. Hence, this is done through the sharing service URL. However, in WordPress, you can directly upload a video from its Add Media section and the file will store into your host.

When you embed a video from sharing sites like YouTube or Vimeo, no traffic is taken from your website, and no additional resource is used from your host. While, if you upload a video,  a considerable space of your host is taken and the videos can take up lots of server resources. Moreover, you may lose the traffic from YouTube users as the most essential video hosting site.

There are different websites that you can use as vide sharing services such as YouTube, Vimeo, DailyMotion, etc. However, embedding a video using their URL into your website is not different.

 

How to embed a video in WordPress?

WordPress has a unique feature called auto-embeds by which you can easily get the embed code from the video sharing sites and use them into your posts, pages, or sidebar widgets. After adding a video URL, WordPress will automatically fetch the embed URL and display the video.

Embed a video in WordPress page and post
Embedding a Video By WordPress Feature

 

For a better understanding, create a new post in your admin dashboard. Here we showed you how!

Next, paste the URL wherever you want to display the video. You can even embed a video into a page as well.

Pasting the video url in WordPress
Copy and Paste the Video URL in WordPress Post or Page Editor

 

If you are using the modern WordPress editor, after fetching the embed code by WordPress, by clicking the video, some settings will appear above the video and in the block toolbar. You can edit the video alignment, width, caption, and more by these settings. However, if you are still using the classic WordPress editor, nothing changes except for the parameters.

Settings in Modern Editor
Settings in Modern Editor After Embedding a Video

 

Settings in Classic Editor
Settings in Classic Editor After Embedding a Video in WordPress

 

How to use HTML to embed a video in WordPress?

Considering the outstanding feature of WordPress embedding video, not all of the websites are supported for sharing a video. Hence, you can only use some sites such as YouTube, Vimeo, DailyMotion, Instagram, Slideshare, SoundCloud, Spotify, TED, Twitter, VideoPress, WordPress. Tv, Facebook, etc. Below, you can see the whole list of supported websites

 

AmazonAnimotoCloudupCollegeHumorCrowdsignalDailymotionFacebookFlickr
HuluImgurInstagramIssuuKickstarterMeetup.comMixcloudReddit
ReverbNationScreencastScribdSlideshareSmugMugSomeecardsSoundCloudSpeaker Deck
SpotifyTEDTumblrTwitterVideoPressVimeoWordPress.tvYouTube

 

However, if you want to embed a video from a non-supporting website, it will be a piece of cake. You only need to use HTML codes to embed a video. In your classic editor, click Text, and in your modern WordPress editor, create an HTML block and paste the HTML code provided by the video website inside the block.

Embedding a video in WordPress using frame HTML code
Embedding a Video Using HTML Code

 

How to embed a video in WordPress widgets?

The whole procedure is similar to what we have done for posts and pages. Hence, you can easily add videos to your footer, or sidebar of the website.

Head to widget section from Appearance > Widgets root and there create a Text widget to the sidebar.

How to add video to WordPress sidebar using widget
Adding Video to the Sidebar and Footer of the Site

 

Simply paste the video URL in the content area of the Text block. Same as before, WordPress will automatically fetch and display the video. Moreover, you can use the video widget itself. So, add a Video widget to the sidebar, and click Add Video. In the viewed window, click Insert from URL and paste the video URL to embed it. Easy, isn’t it?

 

How to upload a video in WordPress?

As we described before, we seriously recommend you not to directly upload a video into your website and host server when your intended video is available inside the video-sharing websites. However, as you may have already uploaded other types of media into your WordPress website, you can upload a video in the same way.

Simply, on your page or post editor, click Add Media and select the demanded video and wait for it to be uploaded.

 

WordPress Video plugins

While you can use the default embedding feature of WordPress for embedding videos, some plugins may help you improve your embedded videos. In a recent article, we introduced to you the most popular WordPress video player plugins in detail. Hence, you can study it from here and make use of which plugin you want.

 

Conclusion

In this article, we had a review for answering the question of how to embed a video in WordPress using different video-sharing sites, like YouTube and Vimeo.  Using videos on your website makes your UI design more stunning and keeps people return to your site because of its beauty. However, keep in mind that instead of directly uploading videos to your host storage, you should use websites that give video sharing services to avoid further loading and traffic difficulties.

Was this post helpful for you?
so so
no

If you want get latest posts in your email, insert your email in this fiel now:

Our subscribes until now:

0 person

Leave a Reply

Sending comments means that you read Comments rules and accept it.