How to add video to a WordPress blog

Adding a video to a WordPress blog is slightly different than adding a video to a normal webpage. The reason being WordPress is a script that runs on your web server with a database in background. Here I will point out the three methods of adding videos to a WordPress blog, followed by simple pros and cons of every method.

Through third party video sharing websites:

You can easily upload  your video to a video sharing website like Youtube or Vimeo and have your video shown on your WordPress blog. Every video sharing website provides you with a embed code to add the video to your website or blog. You have to paste this embed code in the HTML view of your WordPress editor when you are creating or editing a post.

Pros:

  1. Easy to implement.
  2. Secure. Is not vulnerable to WordPress hacking attacks as it does not use any php scripts.

Cons:

  1. Chance of loosing traffic since the video player will have a direct link back to the video sharing website. Chances are you could end up loosing your traffic instead of gaining.
  2. You will be governed by the terms and conditions of the video sharing website and if not respected properly your videos may get banned and removed.
  3. Will not come with all features that you may need. For example, showing your own custom image or graphics after the video ends.

add-video-to-wordpress-01

In WordPress

add-video-to-wordpress-02

Published video on blog

Conclusion: If you are sure that your videos will not violate any terms of the sharing website and that you would not be hurt for a percentage of traffic loss, go for this method.

By installing a WordPress plugin

A plugin is a like a extention of the core WordPress script and is essentially written in the programming language php. You can install plugins for WordPress (perhaps you already know this) for a thousand of reasons including adding a video to your blog. Buy or install a free plugin, enter the values in the plugin and your videos will be published on your blog. No copying or pasting of code needed and the process is seamless.

Pros:

  1. You host the videos so you have full control over them.
  2. A good plugin will upload the video file(s) for you.

Cons:

  1. A poorly coded plugin is a doorway for hackers to sneak in to your blog and hack, alter  your website. Good webhosts these days, are getting restrictive on several plugins or more specifically on which plugins to install and allow.
  2. A plugin might fail when WordPress undergoes a version change. Specifically if the plugin is also not updated by it’s author.
  3. Can be tricky to install and get going.
  4. May not come with all features that you may need. For example, showing an image after the video ends.

Conclusion: Use this option if you are confident of the plugin and it comes with good reviews.

By using a self hosted video solution

The most effective way to add a video to your blog is using a self hosted video solution that does not require a plugin to operate. How? In WordPress, you can easily embed a piece of code in the HTML view of your edit window when you are creating a new post for your blog. A self hosted video solution will provide you the html code for the video player which you can just paste where you want the video to appear. Additionally, you can upload the video files either to your own domain or to a separate domain or a cloud space like Amazon S3. The flexibility of this method is, the video player can have a host of features of like intro and outro images, redirect URLs, video-on click function. etc.

Pros:

  1.  Easy to setup.
  2. You host the videos so you have full control over them.
  3. Secure. Is not vulnerable to WordPress hacking attacks as it does not use any php scripts.
  4. You can get features like showing an image before the video plays, after the video ends, video on-click functions etc.

Cons:

  1. Manual upload of video files needed.