{"action":"created","issue":{"url":"https://api.github.com/repos/clappr/clappr/issues/705","labels_url":"https://api.github.com/repos/clappr/clappr/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/clappr/clappr/issues/705/comments","events_url":"https://api.github.com/repos/clappr/clappr/issues/705/events","html_url":"https://github.com/clappr/clappr/issues/705","id":119918054,"number":705,"title":"HLS not working in Chrome/Chromium","user":{"login":"philcrump","id":873295,"avatar_url":"https://avatars.githubusercontent.com/u/873295?v=3","gravatar_id":"","url":"https://api.github.com/users/philcrump","html_url":"https://github.com/philcrump","followers_url":"https://api.github.com/users/philcrump/followers","following_url":"https://api.github.com/users/philcrump/following{/other_user}","gists_url":"https://api.github.com/users/philcrump/gists{/gist_id}","starred_url":"https://api.github.com/users/philcrump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcrump/subscriptions","organizations_url":"https://api.github.com/users/philcrump/orgs","repos_url":"https://api.github.com/users/philcrump/repos","events_url":"https://api.github.com/users/philcrump/events{/privacy}","received_events_url":"https://api.github.com/users/philcrump/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-02T11:01:37Z","updated_at":"2015-12-02T13:30:50Z","closed_at":null,"body":"The code I'm using is:\r\n\r\n```\r\nvar player = new Clappr.Player({\r\n\tsource: \"http://hls.batc.tv/test/index.m3u8\",\r\n\tautoPlay: true,\r\n});\r\nplayer.on(Clappr.Events.PLAYER_ERROR, function(e)\r\n{\r\n\tconsole.log(\"caught error\");\r\n\tconsole.log(e);\r\n});\r\nvar playerElement = document.getElementById(\"player\");\r\nplayer.attachTo(playerElement);\r\n```\r\n\r\nAlso reproducible on http://cdn.clappr.io/ The HLS source is streaming Sintel in a loop on that URL for others to try. (h264 main 3.1 + aac)\r\n\r\n**Browser:**  Chrome for Android\r\n**OS:** Android 5.0\r\n**Clappr Version:** 0.2.23\r\n\r\nWorks.\r\n\r\n**Browser:**  Firefox 42\r\n**OS:** Ubuntu 15.10\r\n**Clappr Version:** 0.2.23\r\n\r\nWorks.\r\n\r\n**Browser:**  Chromium 45\r\n**OS:** Ubuntu 15.10\r\n**Clappr Version:** 0.2.23\r\n\r\nFails to play. Playing icon disappears but I just get a black screen and video+audio never load. Network inspector shows that it loads the first two TS fragments, but then just continually reloads the m3u8 playlist.\r\n\r\nConsole:\r\n> caught error\r\n> (index):17 Object {error: MediaError, container: t}\r\n>   container: t\r\n>   error: MediaErrorcode: 3\r\n>   __proto__: MediaError\r\n>   MEDIA_ERR_ABORTED: 1\r\n>   MEDIA_ERR_DECODE: 3\r\n>   MEDIA_ERR_NETWORK: 2\r\n>   MEDIA_ERR_SRC_NOT_SUPPORTED: 4\r\n>   code: (...)get code: ()constructor: MediaError()__proto__: Object__proto__: Object\r\n\r\n**Browser:**  Chrome 46\r\n**OS:** Windows 7\r\n**Clappr Version:** 0.2.23\r\n\r\nFails to play. Same behaviour+console as on ubuntu/chromium."},"comment":{"url":"https://api.github.com/repos/clappr/clappr/issues/comments/161289898","html_url":"https://github.com/clappr/clappr/issues/705#issuecomment-161289898","issue_url":"https://api.github.com/repos/clappr/clappr/issues/705","id":161289898,"user":{"login":"leandromoreira","id":55913,"avatar_url":"https://avatars.githubusercontent.com/u/55913?v=3","gravatar_id":"","url":"https://api.github.com/users/leandromoreira","html_url":"https://github.com/leandromoreira","followers_url":"https://api.github.com/users/leandromoreira/followers","following_url":"https://api.github.com/users/leandromoreira/following{/other_user}","gists_url":"https://api.github.com/users/leandromoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/leandromoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandromoreira/subscriptions","organizations_url":"https://api.github.com/users/leandromoreira/orgs","repos_url":"https://api.github.com/users/leandromoreira/repos","events_url":"https://api.github.com/users/leandromoreira/events{/privacy}","received_events_url":"https://api.github.com/users/leandromoreira/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T13:30:50Z","updated_at":"2015-12-02T13:30:50Z","body":"@philcrump we were using [this config](https://github.com/brocaar/nginx-rtmp-dockerfile/blob/master/nginx.conf#L12) a long time ago, it may work for you."}}