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%
Able Player, accessible HTML5 media player
This plug-in uses Able Player, an open-source fully-accessible cross-browser HTML5 media player, to embed audio or video within your WordPress page. Instructions for Use There are currently three ways to add an Able Player instance to a WordPress site: Go to Settings > Able Player > Settings and enable the options to use Able Player for all video, audio, and playlists. Able Player will automatically replace MediaElement.js or the default WordPress video/audio blocks with Able Player. Go to Settings > Able Player > Shortcodes to generate an [ableplayer] shortcode. Enter or paste any valid HTML5 Able Player code into your web page. Full documentation is available on the Able Player project page on GitHub. Using the media rewriting in option #1, Able Player will replace any audio or video block. Any tracks added to that block will be automatically handled, giving you support for all the standard Able Player features: captions, navigable transcripts, subtitles, chapters, and audio description. Using option #2, you can create Able Player shortcodes that support most of the basic Able Player features, with support for Vimeo, YouTube, or local video. Option #3 supports the full scope of Able Player features. The [ableplayer] shortcode The [ableplayer] shortcode supports the following attributes. Required attributes (one of these) youtube-id – 11-character YouTube ID or YouTube URL. vimeo-id – Vimeo ID or URL. media-id – An attachment ID for a media file in your WordPress media library or the URL to a hosted video. Additional Player Content captions – Attachment ID or URL to .vtt captions file. Optional pipe separator for language code and label. subtitles – Attachment ID or URL to .vtt subtitles file. Optional pipe separator for language code and label. chapters – Attachment ID or URL to .vtt chapters file. Optional pipe separator for language code and label. descriptions – Attachment ID or URL to .vtt audio descriptions file. Optional pipe separator for language code and label. youtube-desc-id – YouTube URL or ID of a described version of the video youtube-sign-src – YouTube URL or ID of a sign language interpreted accompanying video vimeo-desc-id – Vimeo URL or ID of a described version of the video All captions, subtitles, chapters, and descriptions tracks must be in .vtt format. The shortcode only supports a single set of values for each type of data; to add multiple tracks of the same type you can use the Video block or add custom HTML. Either an attachment ID or a URL for your track .vtt is required; you can optionally add a language code and a custom label: captions="/path/to/file.vtt|es|Español" By default, the language will be your WordPress installation language, with the labels “Captions”, “Subtitles”, “Chapters” or “Audio Description”. Player Options youtube-nocookie – “true” or “false” (use “true” to embed YouTube untracked, for added privacy) autoplay – “true” or “false” (default is “false”) loop – “true” or “false” (default is “false”) playsinline – “true” or “false” (default is “true”). By setting to “false”, some devices (e.g., iPhones) will play the video in their own media player rather than in Able Player. hidecontrols – “true” or “false” (default is “false”). Set to “true” to enable the player controls to fade away during playback. They will appear again if the user hovers over the player or pressing a key, and they are always accessible to screen reader users. poster – the URL of a poster image, displayed before the user presses Play width – a value in pixels (by default, the player will be sized to fit its container) height – a value in pixels (by default, the height of the player will be in proportion to the width) heading – The HTML heading level (1-6) of the visually hidden “Media Player” heading that precedes the player (for the benefit of screen reader users). If omitted, a heading level will be intelligently assigned based on context. speed – “animals” or “arrows” (default is “animals”) start – start time at which to start playing the media, in seconds. Some browsers do not support this. volume – “0” to “10” (default is “7” to avoid overpowering screen reader audio). Some browsers do not support this. seekinterval – number of seconds to forward/rewind with the Forward and Rewind buttons. If omitted, the interval will be intelligently assigned based on length of the video. nowplaying – “true” or “false” to include a “Selected Track” section within the media player (default is “false”). transcript-div – ID attribute of a target element that will contain the video transcript id – a unique id for the player (if omitted, one will be automatically assigned) Examples Example 1 This example uses HTML to add an audio player to the page, with one source (an MP3 file). html Example 2 This example uses HTML to add a video player to the page, with one source (an MP4 file) and four tracks (for captions, descriptions, and chapters in English; and subtitles in Spanish). html Example 3 This example uses the shortcode to add a video player to the page, with one source (an MP4 file) and four tracks (for captions, descriptions, and chapters in English; and subtitles in Spanish). All sources are fetched as WordPress media attachments. html [ableplayer poster="21" media-id="24" captions="25|en|English" subtitles="26|es|Español" descriptions="27" chapters="28"] Example 4 This example uses a shortcode to add a YouTube player to the page, with two versions of the video, one with audio description and the other without (the user can toggle between the two versions using the D button). [ableplayer youtube-id="XXXXXXXXXXX" youtube-desc-id="YYYYYYYYYYY"] Example 5 This example uses a shortcode to add a Vimeo player to the page, with two versions of the video, one with audio description and the other without (the user can toggle between the two versions using the D button). [ableplayer vimeo-id="XXXXXXXXX" vimeo-desc-id="YYYYYYYYY"] The Able Player plugin was originally created by Terrill Thompson.