Title: Videojs HTML5 Player
Author: Noor Alam
Published: <strong>Me 12, 2015</strong>
Last modified: Desanm 5, 2025

---

Search plugins

![](https://ps.w.org/videojs-html5-player/assets/banner-772x250.png?rev=3022679)

![](https://ps.w.org/videojs-html5-player/assets/icon-128x128.png?rev=1158522)

# Videojs HTML5 Player

 By [Noor Alam](https://profiles.wordpress.org/naa986/)

[Download](https://downloads.wordpress.org/plugin/videojs-html5-player.zip)

 * [Details](https://hat.wordpress.org/plugins/videojs-html5-player/#description)
 * [Reviews](https://hat.wordpress.org/plugins/videojs-html5-player/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/videojs-html5-player/#installation)
 * [Development](https://hat.wordpress.org/plugins/videojs-html5-player/#developers)

 [Support](https://wordpress.org/support/plugin/videojs-html5-player/)

## Description

[Video.js HTML5 Player](https://wphowto.net/videojs-html5-player-for-wordpress-757)
is a user-friendly plugin that supports video playback on desktop and mobile devices.
It makes super easy for you to embed both self-hosted video files or video files
that are externally hosted using Video.js library.

### Video.js HTML5 Player Add-ons

 * [Disable Right Click](https://wphowto.net/videojs-html5-player-for-wordpress-757)
 * [Themes](https://wphowto.net/videojs-player-plugin-themes-7042)

### Video.js HTML5 Player Features

 * Embed MP4 video files into a post/page or anywhere on your WordPress site
 * Embed responsive videos for a better user experience while viewing from a mobile
   device
 * Embed HTML5 videos which are compatible with modern browsers
 * Embed videos with poster images
 * Embed videos using videojs player
 * Automatically play a video when the page is rendered if the device and browser
   support it
 * Embed videos uploaded to your WordPress media library using direct links in the
   shortcode
 * Clean and sleek player with no watermark
 * fallbacks for other HTML5-supported filetypes (WebM, Ogv)
 * HTTP streaming

### How to Use Video.js HTML5 Player

In order to embed a video create a new post/page and use the following shortcode:

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4"]
    ```

Here, “url” is the location of the MP4 video source file (H.264 encoded). You need
to replace the sample URL with the actual URL of the video file.

#### Video Shortcode Options

The following options are supported in the shortcode.

**WebM**

You can specify a WebM video file in addition to the source MP4 video file. This
parameter is optional.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" webm="https://example.com/wp-content/uploads/videos/myvid.webm"]
    ```

**Ogv**

You can specify a Ogv video file in addition to the source MP4 & WebM video files.
This parameter is optional.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" webm="https://example.com/wp-content/uploads/videos/myvid.webm" ogv="https://example.com/wp-content/uploads/videos/myvid.ogv"]
    ```

**Width**

Defines the width of the video file (Height is automatically calculated). This option
is not required unless you want to limit the maximum width of the video.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" width="480"]
    ```

**Preload**

Specifies if and how the video should be loaded when the page loads. Defaults to“
auto” (the video should be loaded entirely when the page loads). Other options:

 * “metadata” – only metadata should be loaded when the page loads
 * “none” – the video should not be loaded when the page loads
 * [videojs_video url=”https://example.com/wp-content/uploads/videos/myvid.mp4″ 
   preload=”metadata”]

**Controls**

Specifies that video controls should be displayed. Defaults to “true”. In order 
to hide controls set this parameter to “false”.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" controls="false"]
    ```

When you disable controls users will not be able to interact with your videos. So
It is recommended that you enable autoplay for a video with no controls.

**Autoplay**

Causes the video file to automatically play when the page loads.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" autoplay="true"]
    ```

**Poster**

Defines image to show as placeholder before the video plays.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" poster="https://example.com/wp-content/uploads/poster.jpg"]
    ```

**Loop**

Causes the video file to loop to beginning when finished and automatically continue
playing.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" loop="true"]
    ```

**Muted**

Specifies that the audio output of the video should be muted.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" muted="true"]
    ```

### Video.js HTTP Streaming

The plugin supports the m3u8 file format that can be used for Video.js HTTP Streaming.
It allows you to play HLS, DASH, and other HTTP streaming protocols with Video.js,
even where they are not natively supported.

    ```
    [videojs_video url="https://example.com/wp-content/uploads/videos/myvid.m3u8"]
    ```

For detailed documentation please visit the [Videojs HTML5 Player](https://wphowto.net/videojs-html5-player-for-wordpress-757)
plugin page

## Screenshots

 * [[
 * Video.js Player Demo

## Installation

 1. Go to the Add New plugins screen in your WordPress Dashboard
 2. Click the upload tab
 3. Browse for the plugin file (videojs-html5-player.zip) on your computer
 4. Click “Install Now” and then hit the activate button

## FAQ

### What is Video.js?

Video.js is a web video player built from the ground up for an HTML5 world. It supports
HTML5 video playback on desktop and mobile devices.

## Reviews

![](https://secure.gravatar.com/avatar/236966f9ba1013e491ab75c73c15160269f6ab022108ece9a69a2af5b1b1bb76?
s=60&d=retro&r=g)

### 󠀁[Just Awesome 😎](https://wordpress.org/support/topic/just-awesome-%f0%9f%98%8e/)󠁿

 [MrPhunin](https://profiles.wordpress.org/mrphunin/) Janvye 30, 2025

Working great 👍with latest wp🚀🤗

![](https://secure.gravatar.com/avatar/88efd58a5bc1790748352287be9857f49c70ddfc8be72eda2554a9c12d784b34?
s=60&d=retro&r=g)

### 󠀁[nice streaming video/audio player for wordpress](https://wordpress.org/support/topic/very-nice-streaming-cideo-player/)󠁿

 [soft-linking](https://profiles.wordpress.org/soft-linking/) Septanm 20, 2022

I wanna thanks to this guy for trying to keep this player simple and updated. I’m
using it for 3 years and now, with hls streaming support i will it use it more, 
thank you and good luck !

![](https://secure.gravatar.com/avatar/016db1ee2226b7632b6a6715fdffa71626f85ac925ec46832eee8b3a6cedf571?
s=60&d=retro&r=g)

### 󠀁[Active Plugin. Love it. Please add streams.](https://wordpress.org/support/topic/uses-quite-old-videojs-code-from-5-years-ago/)󠁿

 [cmunich](https://profiles.wordpress.org/cmunich/) Oktòb 23, 2020

Awesome plugin, active development, some features (hls streams) missing.

![](https://secure.gravatar.com/avatar/71cb9480d5553621043ee4e82c2a04835c4950ab3f13d4a67df92523908a905b?
s=60&d=retro&r=g)

### 󠀁[It’s a good plugin, but it has some problems.](https://wordpress.org/support/topic/its-a-good-plugin-but-it-has-some-problems/)󠁿

 [magnetypo](https://profiles.wordpress.org/magnetypo/) Jiyè 20, 2020

I appreciate the stable playback of the video. However, there are some complaints.-
There is no function to output structured data of moving images. -In addition to
mp4, you can set webm and Ogv as options, but you cannot specify the order in which
they are read. (* Even if you want to load webm into a browser that can read webm,
MP4 is the priority description, so there is no point in preparing a file in webm
format.) We are anxious to be able to respond to these issues.

![](https://secure.gravatar.com/avatar/a83d07f84fe5419004c093691110bed0d129acc524347a0fc031b19d30a05aee?
s=60&d=retro&r=g)

### 󠀁[The Best!](https://wordpress.org/support/topic/the-best-1734/)󠁿

 [mishamone](https://profiles.wordpress.org/mishamone/) Avril 22, 2020

Best way to add video quickly in post. And popup also. Thanks!!!!

![](https://secure.gravatar.com/avatar/529108c5f13f111150224650b35ed1674646e549ef78df9426d1ee279b848470?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin (makes LearnPress videos responsive !)](https://wordpress.org/support/topic/excellent-plugin-makes-learnpress-videos-responsive/)󠁿

 [06userit](https://profiles.wordpress.org/06userit/) Avril 20, 2020 2 replies

Excellent plugin, Thank you, works straigthforward on Laptop/Smartphone (Android)
It allows LearnPress videos to be responsive (they are not responsive natively).

 [ Read all 18 reviews ](https://wordpress.org/support/plugin/videojs-html5-player/reviews/)

## Contributors & Developers

“Videojs HTML5 Player” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Noor Alam ](https://profiles.wordpress.org/naa986/)

“Videojs HTML5 Player” has been translated into 15 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/videojs-html5-player/contributors)
for their contributions.

[Translate “Videojs HTML5 Player” into your language.](https://translate.wordpress.org/projects/wp-plugins/videojs-html5-player)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/videojs-html5-player/),
check out the [SVN repository](https://plugins.svn.wordpress.org/videojs-html5-player/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/videojs-html5-player/)
by [RSS](https://plugins.trac.wordpress.org/log/videojs-html5-player/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.13

 * Added an option to conditionally load scripts.

#### 1.1.12

 * Some improvements in security reported by Wordfence.

#### 1.1.11

 * Added support for Themes add-on.

#### 1.1.10

 * Additional check for the settings link.

#### 1.1.9

 * Made some security related improvements suggested by wpscan.

#### 1.1.8

 * Added support for Disable Right Click add-on.

#### 1.1.7

 * Added support for Video.js HTTP Streaming.

#### 1.1.6

 * Updated Video.js to 7.14.3.

#### 1.1.5

 * Updated Videojs to 7.10.1.

#### 1.1.4

 * Made some security related improvements in the plugin

#### 1.1.3

 * Videojs play button is now centered by default.

#### 1.1.2

 * Videojs HTML5 Player is now compatible with WordPress 4.9.

#### 1.1.1

 * Added support for playsinline attribute which allows a video to play inline on
   iOS (the video will not automatically enter fullscreen mode when playback begins).

#### 1.1.0

 * Videojs script is now enqueued in the footer to avoid a JavaScript setup error.

#### 1.0.9

 * Made jQuery a dependency for the videojs script.

#### 1.0.8

 * Updated the translation files so the plugin can take advantage of language packs.
 * Videojs HTML5 Player is now compatible with WordPress 4.4.

#### 1.0.7

 * Added a new shortcode parameter to accept Ogv as a video source format.

#### 1.0.6

 * Added a new shortcode parameter to accept WebM as a video source format.

#### 1.0.5

 * Updated the Videojs library to 5.0.0

#### 1.0.4

 * Videojs HTML5 Player is now compatible with WordPress 4.3

#### 1.0.3

 * Added an option to mute the audio output of a video
 * Added an option to loop a video

#### 1.0.2

 * Added an option to show/hide controls
 * Added an option to set preload attribute

#### 1.0.1

 * First commit

## Meta

 *  Version **1.1.13**
 *  Last updated **4 months ago**
 *  Active installations **8,000+**
 *  WordPress version ** 4.2 or higher **
 *  Tested up to **6.9.4**
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/videojs-html5-player/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/videojs-html5-player/),
   [English (Australia)](https://en-au.wordpress.org/plugins/videojs-html5-player/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/videojs-html5-player/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/videojs-html5-player/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/videojs-html5-player/),
   [English (UK)](https://en-gb.wordpress.org/plugins/videojs-html5-player/), [English (US)](https://wordpress.org/plugins/videojs-html5-player/),
   [German](https://de.wordpress.org/plugins/videojs-html5-player/), [Italian](https://it.wordpress.org/plugins/videojs-html5-player/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/videojs-html5-player/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/videojs-html5-player/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/videojs-html5-player/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/videojs-html5-player/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/videojs-html5-player/),
   and [Turkish](https://tr.wordpress.org/plugins/videojs-html5-player/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/videojs-html5-player)
 * Tags
 * [embed](https://hat.wordpress.org/plugins/tags/embed/)[HTML5](https://hat.wordpress.org/plugins/tags/html5/)
   [player](https://hat.wordpress.org/plugins/tags/player/)[video](https://hat.wordpress.org/plugins/tags/video/)
   [videojs](https://hat.wordpress.org/plugins/tags/videojs/)
 *  [Advanced View](https://hat.wordpress.org/plugins/videojs-html5-player/advanced/)

## Ratings

 4.7 out of 5 stars.

 *  [  13 5-star reviews     ](https://wordpress.org/support/plugin/videojs-html5-player/reviews/?filter=5)
 *  [  4 4-star reviews     ](https://wordpress.org/support/plugin/videojs-html5-player/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/videojs-html5-player/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/videojs-html5-player/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/videojs-html5-player/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/videojs-html5-player/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/videojs-html5-player/reviews/)

## Contributors

 *   [ Noor Alam ](https://profiles.wordpress.org/naa986/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/videojs-html5-player/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://wphowto.net/)