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 ena
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:
- 01Go 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.
- 02Go to Settings > Able Player > Shortcodes to generate an [ableplayer] shortcode.
- 03Enter 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.