HTML5 Video Player for WordPress
A video plugin for WordPress built on the Video.js HTML5 video player library. Updated for Videojs 5.0+ with a more beautifull skin. Embed HTML5, Flash video in your post or page. Play HTML5, FLV, HLS, m3u8, mp4, Youtube, Dailymotion, Vimeo. Compatible with the WordPress core [video] shortcode and work with the WordPress insert media button. Videojs didn’t update their Videojs to 5.0+ for WordPress and i decided to do it and share it on the WordPress plugins page. View videojs.com for additional information. Use the [videojs] shortcode in your post or page using the following options. Can use the WordPress default [video] shortcode. Compatible with the old Videojs version. NEW HLS (HTTP Live Streaming) Live Streaming Video m3u8 (Pro Version). Skin Builder – Generate your own skin or choose bettween prebuild skins (Pro Version). Using video Shortcodes Using video Shortcodes Video Pro – Skin builder Build your own skin with Video Pro, Allo you to create your own skin or use the prebuild demos skins to start and help you creating you own skin. Now play HLS (HTTP Live Streaming) like m3u8 streaming video HLS (HTTP Live Streaming) m3u8 Demo: Video Pro skin builder hls demo (m3u8) more infos at: Video Pro skin builder. Demo: Video Pro skin builder demo Demo Video Pro Video Shortcode Options mp4 The location of the h.264/MP4 source for the video. [videojs mp4="http://vjs.zencdn.net/v/oceans.mp4"] ogg The location of the Theora/Ogg source for the video. [videojs ogg="http://vjs.zencdn.net/v/oceans.ogg"] webm The location of the VP8/WebM source for the video. [videojs webm="http://vjs.zencdn.net/v/oceans.webm"] Flash FLV The location of the FLASH/FLV source for the video. [videojs fvl="http://www.sample-videos.com/video/flv/480/big_buck_bunny_480p_10mb.flv"] youtube The location of the YouTube source for the video. [videojs youtube="https://www.youtube.com/watch?v=mcixldqDIEQ"] poster The location of the poster frame for the video. [videojs poster="http://vjs.zencdn.net/v/oceans.png"] width The width of the video. [videojs width="640"] height The height of the video. [videojs height="264"] preload Start loading the video as soon as possible, before the user clicks play. Use ‘auto’, ‘metadata’, or ‘none’. Auto will preload when the browser or device allows it. Metadata will load only the meta data of the video. [videojs preload="auto"] autoplay Start playing the video as soon as it’s ready. Use ‘true’ or ‘false’. [videojs autoplay="true"] loop Causes the video to start over as soon as it ends. Use ‘true’ or ‘false’. [videojs loop="true"] controls Use ‘false’ to hide the player controls. [videojs controls="false"] muted Use ‘true’ to initially mute video. [videojs muted="true"] id Add a custom ID to your video player. [videojs id="movie-id"] class Add a custom class to your player. Use full for floating the video player using ‘alignleft’ or ‘alignright’. [videojs class="alignright"] Tracks Text Tracks are a function of HTML5 video for providing time triggered text to the viewer. To use tracks use the [track] shortcode inside of the [video] shortcode. You can set values for the kind, src, srclang, label, and default attributes. More information is available in the Video.js Documentation. [videojs][track kind="captions" src="http://vjs.zencdn.net/v/oceans-captions.vtt" srclang="en" label="English" default="true"][/videojs] All Attributes Example [videojs mp4="http://vjs.zencdn.net/v/oceans.mp4" ogg="http://vjs.zencdn.net/v/oceans.ogv" webm="http://vjs.zencdn.net/v/oceans.webm" poster="http://vjs.zencdn.net/v/oceans.png" preload="auto" autoplay="true" width="640" height="264" id="movie-id" class="alignleft" controls="false" muted="true"][track kind="captions" src="http://example.com/path/to/captions.vtt" srclang="en" label="English" default="true"][/videojs] Compatible with WordPress core video shortcode The location of the h.264/MP4 source for the video. [video mp4="http://vjs.zencdn.net/v/oceans.mp4"] Video.js Settings Screen -------------------------- The values set here will be the default values for all videos, unless you specify differently in the shortcode. Uncheck “Use CDN hosted version?” if you want to use a self-hosted copy of Video.js instead of the CDN hosted version. Using the CDN hosted version is preferable in most situations. If you are using a responsive WordPress theme, you may want to check the Responsive Video checkbox. Uncheck the Use the [video] shortcode? option only if you are using WordPress 3.6+ and wish to use the [video] tag for MediaElement.js. You will still be able to use the [videojs] tag to embed videos using Video.js.
Top keywords
- video45×5.79%
- videojs26×3.35%
- http15×1.93%
- http vjs10×1.29%
- http vjs zencdn10×1.29%
- mp410×1.29%
- net10×1.29%
- skin10×1.29%
- true10×1.29%
- video videojs10×1.29%
- vjs10×1.29%
- vjs zencdn10×1.29%
Videojs HTML5 Player
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. 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: [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 plugin page