This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Video.js – HTML5 Video Player for WordPress


A video plugin for WordPress built on the Video.js HTML5 video player library. Allows you to embed video in your post or page using HTML5 with Flash fallback support for non-HTML5 browsers.

View for additional information.

Video Shortcode Options


The location of the h.264/MP4 source for the video.

[videojs mp4=""]


The location of the Theora/Ogg source for the video.

[videojs ogg=""]


The location of the VP8/WebM source for the video.

[videojs webm=""]


The location of the YouTube source for the video.

[videojs youtube=""]


The location of the poster frame for the video.

[videojs poster=""]


The width of the video.

[videojs width="640"]


The height of the video.

[videojs height="264"]


Start loading the video as soon as possible, before the user clicks play.
Use ‹auto›, ‹metadata›, or ’none›. Auto will preload when the browser or device allows it. Metadata will load only the meta data of the video.

[videojs preload="auto"]


Start playing the video as soon as it’s ready. Use ‹true› or ‹false›.

[videojs autoplay="true"]


Causes the video to start over as soon as it ends. Use ‹true› or ‹false›.

[videojs loop="true"]


Use ‹false› to hide the player controls.

[videojs controls="false"]


Use ‹true› to initially mute video.

[videojs muted="true"]


Add a custom ID to your video player.

[videojs id="movie-id"]


Add a custom class to your player. Use full for floating the video player using ‹alignleft› or ‹alignright›.

[videojs class="alignright"]


Text Tracks are a function of HTML5 video for providing time triggered text to the viewer. To use tracks use the [track] shortcode inside of the [video] shortcode. You can set values for the kind, src, srclang, label, and default attributes. More information is available in the Video.js Documentation.

[videojs][track kind="captions" src="" srclang="en" label="English" default="true"][/videojs]

All Attributes Example

[videojs mp4="" ogg="" webm="" poster="" preload="auto" autoplay="true" width="640" height="264" id="movie-id" class="alignleft" controls="false" muted="true"][track kind="captions" src="" srclang="en" label="English" default="true"][/videojs]<h3>Video.js Settings Screen</h3>--------------------------

The values set here will be the default values for all videos, unless you specify differently in the shortcode. Uncheck «Use CDN hosted version?» if you want to use a self-hosted copy of Video.js instead of the CDN hosted version. Using the CDN hosted version is preferable in most situations.

If you are using a responsive WordPress theme, you may want to check the Responsive Video checkbox.

Uncheck the Use the [video] shortcode? option only if you are using WordPress 3.6+ and wish to use the [video] tag for MediaElement.js. You will still be able to use the [videojs] tag to embed videos using Video.js.


This section describes how to install the plugin and get it working.

  1. Upload the videojs-html5-video-player-for-wordpress folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‹Plugins› menu in WordPress
  3. Use the [videojs] shortcode in your post or page using the following options.


Read all 26 reviews

Contributors & Developers

“Video.js – HTML5 Video Player for WordPress” is open source software. The following people have contributed to this plugin.




  • Updated to use Video.js 4.5
  • Various fixes for YouTube videos
  • Changed the way js/css is loaded to allow use of do_shortcode()
  • Added Muted option


  • Fixed a bug with YouTube videos


  • Updated to use Video.js 4.3
  • Added YouTube plugin for video.js
  • Added option to select YouTube video source


  • Changed Video.js version to 4.2
  • Removed IE6 support for responsive sites, allowing the removal of black bars from the top/bottom of videos
  • Only loads plugin javascript/css on pages where the shortcode is use (WordPress 3.6+)


  • Updated to use Video.js 4. This is a major update to Video.js so please test this plugin with your site before using it in production. A description of changes in the new version is available at
  • Added custom color options to the admin page to allow for easy styling of the player.
  • Added a default aspect ratio for responsive videos (16:9).
  • Changed the default shortcode to [videojs] (for better compatibility with future WordPress versions).


  • Added a shortcode generator to the tinymce editor
  • Added «Using Video.js» section and contextual help to admin screen
  • New «Responsive Video» option for sites with a responsive layout
  • Enqueue scripts and styles


  • Fixed preload=»none».


  • Added support for tracks.
  • Added loop support.
  • Added the ability to disable controls.
  • Fixed a bug with the autoplay attribute.
  • Fixed mixed-content warnings on SSL pages.
  • Added a license to the plugin folder (LGPLv3).


  • Fixed a bug with the self-hosted option.
  • Updated self-hosted files to Video.js 3.2.0.


  • Added an options page to set default values for you video players.
  • Added an option to use a self-hosted version of the script instead of the CDN hosted version.
  • Added a new class=»» option to the shortcode.
  • Minor bug fixes.


  • Completely re-worked for Video.js 3.0, which uses a CDN to host the script and the same HTML/CSS skin and JavaScript API for HTML5 and Flash Video.
  • See for specific changes to the script.
  • Removed files used by old versions of Video.js.


  • Upgraded to version 2.0.2 of VideoJS. See for specific version updates.


  • Added poster to Flash fallback


  • Updated to VideoJS 1.1.2
  • Fixed the default plugin folder name.
  • Fixed an issue with autoplay not working correctly.


  • Updated to latest version of VideoJS


  • First release.