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.
In order to embed a video create a new post/page and use the following shortcode:
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8"]
Here, “url” is the location of the HLS video package file.
The following options are supported in the shortcode.
MP4
You can specify an MP4 video file in addition to the source HLS video file. This parameter is optional.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" mp4="http://example.com/wp-content/uploads/videos/myvid.mp4"]
WebM
You can specify a WebM video file in addition to the source HLS video file. This parameter is optional.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" webm="http://example.com/wp-content/uploads/videos/myvid.webm"]
Ogv
You can specify a Ogv video file in addition to the source HLS video file. This parameter is optional.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" ogv="http://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_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" 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:
“none” – the video should not be loaded when the page loads
[videojs_hls url=”https://player.vimeo.com/external/xxxxxxxxx.m3u8″ preload=”metadata”]
Controls
Specifies if video controls should be displayed. Defaults to “true”. In order to hide controls set this parameter to “false”.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" 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_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" autoplay="true"]
Poster
Defines image to show as placeholder before the video plays.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" poster="http://example.com/wp-content/uploads/poster.jpg"]
Loop
Causes the video file to loop to beginning when finished and automatically continue playing.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" loop="true"]
Muted
Specifies that the audio output of the video should be muted.
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" muted="true"]
iOS Inline
Force the video to play inline on iOS 10+
[videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" inline="true"]
For detailed documentation please visit the Video.js HLS Player plugin page
Starting from $0 per month.
Rating
Reviewers
4 reviews
Tags
Developed By
Bruce
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Elevate Your Website with the Dynamic Events Board
Enhance Your Website Visually & Draw Attention to Stunning Videos
Add Stunning Visuals to Your Site & Create a Better User Experience
Showcase and manage reviews from multiple sources easily with All in One Reviews.
Bring Focus to Products & Increase Conversions With Product Blobs
Empowering Your Headlines with Unique Highlights and Personalized Touch
Increase Conversions With Restaurant Menu Flip Cards
Enhance Your Technical Content with Code Snippets
Engage Visitors with a Dynamic and Interactive Card Slider
Enhance Your Website Visually & Draw Attention to Stunning Card Carousel
Create Interactive, Customizable Maps for Engaging Data Visualization
Enhance Customer Experience With the Company Branch List App
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!