{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/13802","repository_url":"https://api.github.com/repos/guardian/frontend","labels_url":"https://api.github.com/repos/guardian/frontend/issues/13802/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/13802/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/13802/events","html_url":"https://github.com/guardian/frontend/pull/13802","id":168701514,"number":13802,"title":"messaging for geo-blocked video","user":{"login":"akash1810","id":836140,"avatar_url":"https://avatars.githubusercontent.com/u/836140?v=3","gravatar_id":"","url":"https://api.github.com/users/akash1810","html_url":"https://github.com/akash1810","followers_url":"https://api.github.com/users/akash1810/followers","following_url":"https://api.github.com/users/akash1810/following{/other_user}","gists_url":"https://api.github.com/users/akash1810/gists{/gist_id}","starred_url":"https://api.github.com/users/akash1810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akash1810/subscriptions","organizations_url":"https://api.github.com/users/akash1810/orgs","repos_url":"https://api.github.com/users/akash1810/repos","events_url":"https://api.github.com/users/akash1810/events{/privacy}","received_events_url":"https://api.github.com/users/akash1810/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-01T17:43:37Z","updated_at":"2016-08-03T13:12:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/13802","html_url":"https://github.com/guardian/frontend/pull/13802","diff_url":"https://github.com/guardian/frontend/pull/13802.diff","patch_url":"https://github.com/guardian/frontend/pull/13802.patch"},"body":"## What does this change?\r\nWe can currently geo-block videos, this adds some messaging to the video element if you're in a blocked region.\r\n\r\nThe videos are blocked at the CDN level. Annoyingly, videojs doesn't make it easy to view the status code, so lets just make a HEAD request to get the response code. If its a 403, then we say the video isn't available. Any other status code is handled how they usually are.\r\n\r\n## What is the value of this and can you measure success?\r\nBetter UX as the user gets some feedback vs the current loading animation.\r\n\r\n## Does this affect other platforms - Amp, Apps, etc?\r\nNo.\r\n\r\n## Screenshots\r\n![screen shot 2016-08-01 at 18 41 23](https://cloud.githubusercontent.com/assets/836140/17303199/9f31f406-5817-11e6-8d57-87b9a3de3a85.jpeg)\r\n\r\n## Request for comment\r\n@guardian/guardian-frontend as @gidsg is at a conference and (@jamesgorrie has gone somewhere...)\r\n\r\n<!--\r\n*Does this PR meet the [contributing guidelines](https://github.com/guardian/frontend/blob/issue_pr_templates/.github/CONTRIBUTING.md#submission)?*\r\n-->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/237232933","html_url":"https://github.com/guardian/frontend/pull/13802#issuecomment-237232933","issue_url":"https://api.github.com/repos/guardian/frontend/issues/13802","id":237232933,"user":{"login":"akash1810","id":836140,"avatar_url":"https://avatars.githubusercontent.com/u/836140?v=3","gravatar_id":"","url":"https://api.github.com/users/akash1810","html_url":"https://github.com/akash1810","followers_url":"https://api.github.com/users/akash1810/followers","following_url":"https://api.github.com/users/akash1810/following{/other_user}","gists_url":"https://api.github.com/users/akash1810/gists{/gist_id}","starred_url":"https://api.github.com/users/akash1810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akash1810/subscriptions","organizations_url":"https://api.github.com/users/akash1810/orgs","repos_url":"https://api.github.com/users/akash1810/repos","events_url":"https://api.github.com/users/akash1810/events{/privacy}","received_events_url":"https://api.github.com/users/akash1810/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T13:12:29Z","updated_at":"2016-08-03T13:12:29Z","body":"@rich-nguyen @johnduffell I've made some updates to only make a HEAD call when needed. I think this is ok as a first pass.\r\n\r\nI'm working on a more [generic solution](http://jsbin.com/sividu/2/edit?js,console,output) however I'd like to get this out as soon as possible as its for Olympics.\r\n\r\nWould you mind taking another look?"}}
{"actor":{"display_login":"akash1810"}}