{"id":7,"date":"2023-05-09T12:16:08","date_gmt":"2023-05-09T12:16:08","guid":{"rendered":"https:\/\/dev.annebarrat.com\/wpsandbox\/?page_id=7"},"modified":"2023-08-05T18:01:02","modified_gmt":"2023-08-05T18:01:02","slug":"ablevideo","status":"publish","type":"page","link":"https:\/\/dev.annebarrat.com\/wpsandbox\/","title":{"rendered":"Able Player Plugin for WordPress"},"content":{"rendered":"\n<h2>\n\t\tAble Video and Audio Players\n\t<\/h2>\n<h3>\n\t\tInstructions for Use\n\t<\/h3>\n\t<p>There are currently two ways to add an Able Player instance to a WordPress site:<\/p>\n<ol>\n<li>Enter or paste any valid HTML5 Able Player code into your web page. Full documentation is available on the\u00a0<a href=\"http:\/\/ableplayer.github.io\/ableplayer\" target=\"_blank\" rel=\"noopener\">Able Player<\/a>\u00a0project page on GitHub.<\/li>\n<li>Enter an  shortcode. The shortcode is intended for adding videos hosted on YouTube or Vimeo, with captions and subtitles hosted on these services. For anything more complex, use HTML.<\/li>\n<\/ol>\n<h3>\n\t\tAble Player for Youtube Video, added as HTML, with poster.\n\t<\/h3>\n\t<p>The video has a caption and description file added to the media library and\u00a0 linked in the HTML. There is an image added as a video poster.<\/p>\n\t  <video id=\"able-player-1\" data-heading-level=0 data-able-player poster=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/ruth.jpg\"\n \t\tdata-skin=\"2020\" data-youtube-id=\"BqmGZRGvKC8\"  playsinline>\n    <track kind=\"captions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/mama_en.vtt\" srclang=\"en\"\/>\n    <track kind=\"descriptions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/mama_desc_en.vtt\" srclang=\"en\"\/>\n  <\/video>\n\t\u00a0&lt;video id=&#8221;able-player-1&#8243; data-able-player data-heading-level=0 poster=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/ruth.jpg&#8221;<br \/>\ndata-skin=&#8221;2020&#8243; data-youtube-id=&#8221;BqmGZRGvKC8&#8243; playsinline&gt;\n\u00a0 &lt;track kind=&#8221;captions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/mama_en.vtt&#8221; srclang=&#8221;en&#8221;&gt;\n\u00a0 &lt;track kind=&#8221;descriptions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/mama_desc_en.vtt&#8221; srclang=&#8221;en&#8221;&gt;\n&lt;\/video&gt;\n<h3>\n\t\tAble Player for Vimeo Video, added as HTML\n\t<\/h3>\n\t<p>The video has a caption and description file added to the media library and\u00a0 linked in the HTML. Note, to prevent malfunction, an id attribute that is different from the id values of other players on the page must be assigned when adding multiple players to a page as HTML.<\/p>\n\t  <video id=\"able-player-2\" data-able-player data-heading-level=0\n \t\tdata-skin=\"2020\" \n\t\tdata-vimeo-id=\"175219711\"  playsinline>\n    <track kind=\"captions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/coltrane_en.vtt\" srclang=\"en\"\/>\n    <track kind=\"descriptions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/coltrane_desc_en.vtt\" srclang=\"en\"\/>\n  <\/video>\n\t&lt;video id=&#8221;able-player-2&#8243; data-able-player\u00a0\u00a0 data-skin=&#8221;2020&#8243; data-heading-level=0\ndata-vimeo-id=&#8221;175219711&#8243;\u00a0 playsinline&gt;\n&lt;track kind=&#8221;captions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/coltrane_en.vtt&#8221; srclang=&#8221;en&#8221;&gt;\n&lt;track kind=&#8221;descriptions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/coltrane_desc_en.vtt&#8221; srclang=&#8221;en&#8221;&gt;\n\u00a0 &lt;\/video&gt;\n<h3>\n\t\tAble Player for local video source, added as HTML and including a non-zero start time.\n\t<\/h3>\n\t<p>The video has a caption and description file added to the media library and\u00a0 linked in the HTML. Note, to prevent malfunction, an id attribute that is different from the id values of other players on the page must be assigned when adding multiple players to a page as HTML.<\/p>\n\t  <video id=\"able-player-3\" data-able-player data-heading-level=0\n \t\tdata-skin=\"2020\" data-start-time=\"125\"\n\t\tsrc=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/lift.mp4\"  playsinline>\n    <track kind=\"captions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/lift.vtt\" srclang=\"en\"\/>\n    <track kind=\"descriptions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/lift_desc_en.vtt\" srclang=\"en\"\/>\n  <\/video>\n\t&lt;video id=&#8221;able-player-3&#8243; data-able-player data-heading-level=0<br \/>\ndata-skin=&#8221;2020&#8243; data-start-time=&#8221;125&#8243;<br \/>\nsrc=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/lift.mp4&#8243;\u00a0 playsinline&gt;\n<p>&lt;track kind=&#8221;captions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/lift.vtt&#8221; srclang=&#8221;en&#8221;&gt;<\/p>\n<p>&lt;track kind=&#8221;descriptions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/lift_desc_en.vtt&#8221; srclang=&#8221;en&#8221;&gt;<\/p>\n<p>&lt;\/video&gt;<\/p>\n<h3>\n\t\tAble Player for YouTube Video, added as short code\n\t<\/h3>\n\t<p>When adding the player with shortcode, you can only add YouTube or Vimeo videos.<\/p>\n<p>Captions must be hosted on these platforms to be included. However, users can add a described version of the video, also hosted on YouTube or Vimeo.<\/p>\n<p>Please note that when users add multiple players to the page using shortcode, unique id&#8217;s will automatically be assigned to each player to prevent malfunction.<\/p>\nyoutube-desc-id &#8211; YouTube ID of a described version of the video<br \/>\nvimeo-desc-id &#8211; Vimeo ID of a described version of the video.\n<p>Other optional attributes, such as start time, that can be added in the shortcode can be found can be found on <a href=\"https:\/\/wordpress.org\/plugins\/ableplayer\/\">the Able Player plugin page.<\/a><\/p>\n\t\r\n<video id=\"able_player_1298\" data-able-player playsinline preload=\"metadata\" data-heading-level=\"3\" data-speed-icons=\"animals\" data-youtube-id=\"BqmGZRGvKC8\">\r\n\t\r\n<\/video>\n<h3>\n\t\tAble Audio Player: adding an MP3 with HTML\n\t<\/h3>\n\t<p>When adding the audio player, a unique ID is required. Add a caption track to enable the transcript to appear.<\/p>\n<p>Other optional attributes, such as start time, that can be added in the shortcode can be found can be found on <a href=\"https:\/\/wordpress.org\/plugins\/ableplayer\/\">the Able Player plugin page.<\/a><\/p>\n\t<audio id=\"audio1\" width=\"480\" preload=\"auto\" data-able-player  data-lyrics-mode data-heading-level=0\n\tsource type=\"audio\/mpeg\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/cook.mp3\"><\/audio>\n\t    <track kind=\"captions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/cook_en.vtt\" srclang=\"en\"\/>\n\n\t<p><strong><em>Piano Concerto No.6 in D major<\/em> (fragment) &#8211; Ludwig van Beethoven \/ Nicholas Cook<\/strong><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/t\/creative_commons\">Creative Commons Attribution license (reuse allowed)<\/a><\/p>\n\t<strong>HTML code:\u00a0<\/strong>\n&lt;audio id=&#8221;audio1&#8243; width=&#8221;480&#8243; preload=&#8221;auto&#8221; data-able-player\u00a0 data-lyrics-mode data-heading-level=0\nsource type=&#8221;audio\/mpeg&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/cook_en.mp3&#8243;\/&gt;\n\u00a0 \u00a0 &lt;track kind=&#8221;captions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/cook.vtt&#8221; srclang=&#8221;en&#8221;&gt;\n&lt;\/audio&gt;\n<h3>\n\t\tAble Audio Player: adding an MP3 with HTML and a non-zero start time\n\t<\/h3>\n\t<p>When adding the audio player, a unique ID is required. Add a caption track to enable the transcript to appear.<\/p>\n<p>Other optional attributes, such as start time, that can be added in the shortcode can be found can be found on <a href=\"https:\/\/wordpress.org\/plugins\/ableplayer\/\">the Able Player plugin page.<\/a><\/p>\n\t<audio id=\"audio2\" width=\"480\" preload=\"auto\" data-able-player data-start-time=\"500\" data-lyrics-mode data-heading-level=0\nsource type=\"audio\/mpeg\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/ullman.mp3\"><\/audio>\n<track kind=\"captions\" src=\"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/ullman_en.vtt\" srclang=\"en\"\/>\n\n\t<p><strong>BEETHOVEN Piano Sonata No. 21 in C major, Op. 53, Waldstein (1st Movement) \/ Alexander Ullman<\/strong><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/t\/creative_commons\">Creative Commons Attribution license (reuse allowed)<\/a><\/p>\n\t<strong>HTML code:\u00a0<\/strong>\n&lt;audio id=&#8221;audio2&#8243; width=&#8221;480&#8243; preload=&#8221;auto&#8221; data-able-player data-start-time=&#8221;500&#8243; data-lyrics-mode data-heading-level=0<br \/>\nsource type=&#8221;audio\/mpeg&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/ullman.mp3&#8243;\/&gt;<br \/>\n&lt;track kind=&#8221;captions&#8221; src=&#8221;https:\/\/dev.annebarrat.com\/wpsandbox\/wp-content\/uploads\/2023\/05\/ullman_en.vtt&#8221; srclang=&#8221;en&#8221;&gt;<br \/>\n&lt;\/audio&gt;\n<h2>\n\t\tAble Video Observations\n\t<\/h2>\n\t<ol>\n<li>Tested compatibility up to WordPress 5.3.14.<\/li>\n<li>If the default setting of the plugin is that audio descriptions are both on and the description tray is visible, the settings should be adjusted in the ableplayer.js plugin file.<\/li>\n<li>Able Player only supports valid WebVTT files. Files may be validated at <a href=\"https:\/\/quuz.org\/webvtt\/\">WebVTT Validator<\/a>.<\/li>\n<li>The style of the player seems to need some adjustments as the description tray is overlaying the timing bar; and the progress bar overlays the containing track.<\/li>\n<li>Out of the box, when more than one player is present in a page, they will play simultaneously.<\/li>\n<li>Whenever editing the Able Players in the page, they become non-visible after saving the changes until the page is refreshed.<\/li>\n<li>The Able Player increases the accessibility of the Vimeo videos by keeping controls always visible and available to keyboard users and screenreader users.<\/li>\n<\/ol>\n\n","protected":false},"excerpt":{"rendered":"<p>Able Video and Audio Players Instructions for Use There are currently two ways to add an Able Player instance to a WordPress site: Enter or paste any valid HTML5 Able Player code into your web page. Full documentation is available on the\u00a0Able Player\u00a0project page on GitHub. Enter an shortcode. The shortcode is intended for adding [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/pages\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":90,"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/pages\/7\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/pages\/7\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/dev.annebarrat.com\/wpsandbox\/wp-json\/wp\/v2\/media?parent=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}