About this plugin
js HTML5 Player is a user-friendly plugin that supports video playback on desktop and mobile devices. js library.
Video.js HTML5 Player Add-ons
- Disable Right Click
- Themes
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:
mp4"]
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.
webm"]
Ogv
You can specify a Ogv video file in addition to the source MP4 & WebM video files. This parameter is optional.
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.
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
mp4″ preload=”metadata”]
Controls
Specifies that video controls should be displayed. Defaults to “true”. In order to hide controls set this parameter to “false”.
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.
mp4" autoplay="true"]
Poster
Defines image to show as placeholder before the video plays.
jpg"]
Loop
Causes the video file to loop to beginning when finished and automatically continue playing.
mp4" loop="true"]
Muted
Specifies that the audio output of the video should be muted.
mp4" muted="true"]
Video.js HTTP Streaming
js HTTP Streaming. js, even where they are not natively supported.
m3u8"]
For detailed documentation please visit the Videojs HTML5 Player plugin page