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 HLS Player


Video.js HLS Player is a user-friendly plugin that allows you to easily embed responsive/fluid (or fixed width) HLS videos into WordPress posts and pages using this customized video.js player. Embedding externally hosted .m3u8 HLS video files couldn’t be easier.

Video.js HLS Player Features

  • Embed HLS video package 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 all major browsers
  • Embed videos with poster images
  • Embed videos using videojs player
  • Automatically play a video when the page is rendered
  • Embed fallback videos uploaded to your WordPress media library using direct links in the shortcode
  • No setup required, simply install and start embedding videos
  • Lightweight and compatible with the latest version of WordPress
  • Clean and sleek player with no watermark
  • Fallback for other HTML5-supported filetypes (MP4, WebM, Ogv)

Video.js HLS Player Plugin Usage

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

[videojs_hls url=""]

Here, “url” is the location of the HLS video package file.

Video Shortcode Options

The following options are supported in the shortcode.


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

[videojs_hls url="" mp4=""]


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

[videojs_hls url="" webm=""]


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

[videojs_hls url="" ogv=""]


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_hls url="" width="480"]


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_hls url=”″ preload=”metadata”]


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

[videojs_hls url="" 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.


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

[videojs_hls url="" autoplay="true"]


Defines image to show as placeholder before the video plays.

[videojs_hls url="" poster=""]


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

[videojs_hls url="" loop="true"]


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

[videojs_hls url="" muted="true"]

iOS Inline

Force the video to play inline on iOS 10+

[videojs_hls url="" inline="true"]

For detailed documentation please visit the Video.js HLS Player plugin page


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


Can this plugin be used to embed videos in WordPress?


Are the videos embedded by this plugin playable on iOS devices?


Can I embed responsive videos using this plugin?



May 7, 2020
Works on desktops *but* with multiple players on a page only one will play while the other remains paused, setting the paused video to play automatically pauses the first video, doesn't work on ipad, just a still picture with no response from controls.
February 9, 2018
Hi, How can i use others Community Plugins and Contrib Plugins of Video.js with this WP-plugin? Here is the list of plugins for video.js: Thanks...
Read all 4 reviews

Contributors & Developers

“Video.js HLS Player” is open source software. The following people have contributed to this plugin.


Translate “Video.js HLS Player” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Pause other videos on play()


  • Fixed data-setup json error
  • Loading video.js from


  • First commit