{"action":"created","issue":{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/882","repository_url":"https://api.github.com/repos/videojs/videojs-contrib-hls","labels_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/882/comments","events_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/882/events","html_url":"https://github.com/videojs/videojs-contrib-hls/issues/882","id":184940885,"number":882,"title":"Question: how to detect http response code?","user":{"login":"askaliuk","id":48947,"avatar_url":"https://avatars.githubusercontent.com/u/48947?v=3","gravatar_id":"","url":"https://api.github.com/users/askaliuk","html_url":"https://github.com/askaliuk","followers_url":"https://api.github.com/users/askaliuk/followers","following_url":"https://api.github.com/users/askaliuk/following{/other_user}","gists_url":"https://api.github.com/users/askaliuk/gists{/gist_id}","starred_url":"https://api.github.com/users/askaliuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askaliuk/subscriptions","organizations_url":"https://api.github.com/users/askaliuk/orgs","repos_url":"https://api.github.com/users/askaliuk/repos","events_url":"https://api.github.com/users/askaliuk/events{/privacy}","received_events_url":"https://api.github.com/users/askaliuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-24T20:05:58Z","updated_at":"2016-10-26T18:09:18Z","closed_at":"2016-10-26T18:09:18Z","body":"I would like to detect HTTP response code for each failed request (video or playlist), which a player makes. For example, if a response is 304 then my code needs to make a special action (show a message).\r\n\r\n`player.on('error', ...)` does not provide such information. As well as `player.tech_.on('error', ...)`.\r\nThank you."},"comment":{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/comments/256431076","html_url":"https://github.com/videojs/videojs-contrib-hls/issues/882#issuecomment-256431076","issue_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/882","id":256431076,"user":{"login":"askaliuk","id":48947,"avatar_url":"https://avatars.githubusercontent.com/u/48947?v=3","gravatar_id":"","url":"https://api.github.com/users/askaliuk","html_url":"https://github.com/askaliuk","followers_url":"https://api.github.com/users/askaliuk/followers","following_url":"https://api.github.com/users/askaliuk/following{/other_user}","gists_url":"https://api.github.com/users/askaliuk/gists{/gist_id}","starred_url":"https://api.github.com/users/askaliuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askaliuk/subscriptions","organizations_url":"https://api.github.com/users/askaliuk/orgs","repos_url":"https://api.github.com/users/askaliuk/repos","events_url":"https://api.github.com/users/askaliuk/events{/privacy}","received_events_url":"https://api.github.com/users/askaliuk/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T18:09:18Z","updated_at":"2016-10-26T18:09:18Z","body":"http://stackoverflow.com/questions/40225756/how-to-detect-http-response-code/40269301"}}
{"actor":{"display_login":"askaliuk"}}