embed video file beautifully in wordpress using video.js html5 player. embed html5 compatible responsive video in your post/page with Video.js..
Video.js HTML5 Player 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.
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.
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:
“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"]
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 plugin page
Here is the Videojs HTML5 Player wordpress plugin download link you can download and install to your Wordpress Website.
Self-hosted responsive HTML5 video for WordPress, built on the widely used Video.js HTML5 video player....
Replace Youttube Player with VideoJS HTML5 player
...
HTML5 MP3 Radio FM MP3 Stream Player use Radio streams directly from Shoutcast and Icecast Server and...
Allows Wordpress users to easily use HTML5 Audio the element enable native audio playback within the...
VideoJS Pro is a plugin for Wordpress that provides an easy to use interface for VideoJS, developed by...
This extension replaces Flash player with an HTML5 player
This replaces the standard YouTube buffering image with a spinning seal. (Works better with the Flash...
This extension replaces the Flash YouTube player on televiso.net with an HTML5 player
Allows playing streams on Daisuki.net without flash
Alters the Flinders University Online (FLO) video player.
Allows Netflix users outside US, like Brazil and Mexico, to have English audio with no subtitle.
Forces Twitch to use HTML5 player instead of the Flash player.
An extension to use the HTML5 Player UI instead of Flash player in every twitch channels
Use HTML5 video tags for Repubblica TV videos, removing ADS
Use twitch player in HTML5!
Play YouTubeâ„¢ Videos Only in HTML5 Player
âš ï¸ HTML5 video is now YT's default*
This...
Play YouTube™ Videos in Flash or HTML5 Player
YouTube HTML5 Player -- Watch in HTML5 if Flash is disabled...
A very lightweight add-on that allows you to watch YouTubeâ„¢...
The entire page will be fading to dark, so you can watch the video as if you were in the cinema.The entire...
YouTube video player sucks a lot, this basic video player...
Get rid of legacy Flash based embedded YouTube videos and...
Принудительный...
Prevents YouTube page, HTML5 player, and Flash player from displaying ads and banners