Plugin / Video.js – HTML5 Video Player for WordPress

Description

Description

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 videojs.com for additional information.

Video Shortcode Options

mp4

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

[videojs mp4="http://video-js.zencoder.com/oceans-clip.mp4"]

ogg

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

[videojs ogg="http://video-js.zencoder.com/oceans-clip.ogg"]

webm

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

[videojs webm="http://video-js.zencoder.com/oceans-clip.webm"]

youtube

The location of the YouTube source for the video.

[videojs youtube="http://www.youtube.com/watch?v=DJU6ppZAaec"]

poster

The location of the poster frame for the video.

[videojs poster="http://video-js.zencoder.com/oceans-clip.png"]

width

The width of the video.

[videojs width="640"]

height

The height of the video.

[videojs height="264"]

preload

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"]

autoplay

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

[videojs autoplay="true"]

loop

Causes the video to start over as soon as it ends. Use ‘true’ or ‘false’.

[videojs loop="true"]

controls

Use ‘false’ to hide the player controls.

[videojs controls="false"]

muted

Use ‘true’ to initially mute video.

[videojs muted="true"]

id

Add a custom ID to your video player.

[videojs id="movie-id"]

class

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

[videojs class="alignright"]

Tracks

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="http://video-js.zencoder.com/oceans-captions.vtt" srclang="en" label="English" default="true"][/videojs]

All Attributes Example

[videojs mp4="http://video-js.zencoder.com/oceans-clip.mp4" ogg="http://video-js.zencoder.com/oceans-clip.ogg" webm="http://video-js.zencoder.com/oceans-clip.webm" poster="http://video-js.zencoder.com/oceans-clip.png" preload="auto" autoplay="true" width="640" height="264" id="movie-id" class="alignleft" controls="false" muted="true"][track kind="captions" src="http://example.com/path/to/captions.vtt" 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.

Ratings

4.7
26 reviews

Rating breakdown

Details Information

Version

4.5.0

First Released

13 Sep, 2016

Total Downloads

217,379

Wordpress Version

2.7 or higher

Tested up to:

3.9.29

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.