{"id":868,"date":"2016-01-13T16:15:23","date_gmt":"2016-01-13T16:15:23","guid":{"rendered":"http:\/\/powered-by-haiku.co.uk\/?p=868"},"modified":"2016-01-13T16:30:51","modified_gmt":"2016-01-13T16:30:51","slug":"enabling-jw-player-captions-on-ios","status":"publish","type":"post","link":"https:\/\/powered-by-haiku.co.uk\/?p=868","title":{"rendered":"Enabling JW Player captions on iOS"},"content":{"rendered":"<div class=\"jw6-update\" style=\"margin-bottom:1em;\">\n<p><strong>JW 7.3.0 is now in beta and is reported to include the following feature:<\/strong><\/p>\n<blockquote><p>Native HTML5 caption tracks now utilized for iOS devices, allowing for fullscreen subtitles<\/p><\/blockquote>\n<\/div>\n<p><strong>A lot has changed with JW Player since my <a href=\"http:\/\/powered-by-haiku.co.uk\/?p=617\">previous post<\/a> regarding it&#8217;s lack of support for captions on iOS &#8211; including a complete rebuild!<\/p>\n<p>That was back in November 2013 and related to JW Player 6.7.<\/p>\n<p>Over two years on and the latest version of JW Player is 7.2.4, but unfortunately, one thing that still hasn&#8217;t changed is it&#8217;s ability to provide caption support for media played on iPhones and iPads in fullscreen.<\/strong><\/p>\n<p>Whilst my original post was useful in demonstrating the principle of how JW Player captions can be enabled for iOS use, it was by no means a complete solution &#8211; there are a number of other scenarios\/states which need to be handled, and it also does nothing to account for cross-domain\/CORS issues or to style the captions as suggested by the JW <code>captions<\/code> configuration block.<\/p>\n<h2>Introducing the JW\/iOS captions plugin<\/h2>\n<p>Not wanting to leave things half finished, I decided to create a plugin to provide a more robust solution &#8211; whilst making it easier to implement.<\/p>\n<p>The JW\/iOS captions plugin offers the following features:<\/p>\n<ul>\n<li>Overcomes basic cross-domain issues<\/li>\n<li>Honours the JW <code>captions<\/code> block styling configuration<\/li>\n<li>Uses native captions on iPhone and iPad in fullscreen.<\/li>\n<\/ul>\n<p>An example of how to use this plugin can be found at the following page: <a href=\"http:\/\/dev.powered-by-haiku.co.uk\/solutions\/jwioscaptions\/\">Enabling JW Player captions on iOS<\/a><\/p>\n<h2>Tatami for Online Video<\/h2>\n<p>If you are using <a href=\"http:\/\/powered-by-haiku.co.uk\/?p=786\">Tatami for Online Video<\/a> to build and generate your JW Player embeds, this plugin will automatically be included when your player is rendered on iOS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JW 7.3.0 is now in beta and is reported to include the following feature: Native HTML5 caption tracks now utilized for iOS devices, allowing for fullscreen subtitles A lot has changed with JW Player since my previous post regarding it&#8217;s lack of support for captions on iOS &#8211; including a complete rebuild! That was back&hellip; <a href=\"https:\/\/powered-by-haiku.co.uk\/?p=868\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,12],"tags":[],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-jw-player","category-plugin"],"_links":{"self":[{"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=868"}],"version-history":[{"count":23,"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/868\/revisions"}],"predecessor-version":[{"id":895,"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/868\/revisions\/895"}],"wp:attachment":[{"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/powered-by-haiku.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}