Embedding Videos in your posts is a great way to engage audience. Articles with engaging content like images and videos have 65% more potential to get shares and go viral.
Thats the reason all blogging softwares always look for easy methods to incorporate videos to take control of the blogging market and WordPress is no difference.
Since version 2.9+, it’s now super easy to embed videos in WordPress post simply by placing the URL link. Only two things need to be checked after you paste the URL link:
- The video link in post should be on its own line.
- It should not create a hyperlink of the URL.
In the above example, we are trying to add youtube video in our post. Just copy and paste the link from YouTube. You can do the same to add a Vimeo link.
Once you placed the video URL, it will auto embed the video and instantly show the video preview right inside visual editor making sure that it has been successfully embedded.
Publish the post and see the result on the front-end.
Embed Video with Shortcode
The other way to embed a video is by adding a shortcode. This method is useful if you want to specify the width and height of the video according to your theme limitations. Embedding a video using the first method can create sometimes layout issues in WordPress so this is the right time to insert video using shortcode.
Place the following shortcode with your own width and height dimensions
[ embed width="200" height="100"]place video link here[/embed]
You can even make a video grid by adding multiple embed shortcodes.
If your post is just a video url (no text), you can set your post format to Video to ensure that the post will be a video post and not appear as a video link when published.
Not all videos can be embedded this way as WordPress maintains its own list of video services due to certain security reasons. WordPress calls it internal white list.
Below is a list of video services which can be embedded in WordPress by default:
How to add video to WordPress homepage
As a blogging platform, WordPress by default shows the recent posts on homepage.
To add a custom video to your homepage, you need to change your homepage into a static page first, only after then you will be able to add videos to your homepage. Please see how to create a static frontpage in WordPress.
How to Upload video in Media Library
Uploading a video in WordPress is not a good idea. Playing videos from your hosting server could take a lot of its resources and can finally crashed the site.
Instead of uploading videos to media library, add your videos to a proper video hosting service like YouTube or Vimeo and embed links from these services. This will not only release extra load from your server but you will get extra traffic from YouTube also.
How to disable auto embed video
Although auto embedding videos is really a useful feature but sometimes you really don’t need it. What if you deliberately want to show the video URL instead of video itself. You can do so by any of the following methods. The methods below will not initiate WordPress auto embed video feature.
- Add a hyperlink to the URL. Video hyperlinks don’t convert to video previews.
- Switch to Text editor and add a commenting block before the URL.
<!– –>video link goes here.
Once added, switch back to Visual editor.
- Show video URL with an ordered or unordered list <ol> or <ul>
Just to summarize, we have shown you how easy it is to embed videos in your blog by using any of the above methods. Make full use of these features and make your content engaging by adding videos to your posts.
If you still have any questions do let us know by using the comments section below.