{"action":"created","issue":{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/342","repository_url":"https://api.github.com/repos/videojs/videojs-contrib-hls","labels_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/342/comments","events_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/342/events","html_url":"https://github.com/videojs/videojs-contrib-hls/issues/342","id":93912882,"number":342,"title":"Support EXT-X-BYTERANGE","user":{"login":"jpfranco","id":1322503,"avatar_url":"https://avatars.githubusercontent.com/u/1322503?v=3","gravatar_id":"","url":"https://api.github.com/users/jpfranco","html_url":"https://github.com/jpfranco","followers_url":"https://api.github.com/users/jpfranco/followers","following_url":"https://api.github.com/users/jpfranco/following{/other_user}","gists_url":"https://api.github.com/users/jpfranco/gists{/gist_id}","starred_url":"https://api.github.com/users/jpfranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpfranco/subscriptions","organizations_url":"https://api.github.com/users/jpfranco/orgs","repos_url":"https://api.github.com/users/jpfranco/repos","events_url":"https://api.github.com/users/jpfranco/events{/privacy}","received_events_url":"https://api.github.com/users/jpfranco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-08T23:28:43Z","updated_at":"2016-02-12T17:29:26Z","closed_at":"2016-02-12T17:29:26Z","body":"Hello, I'm trying figure out whether there is something wrong with our streams or with videojs-contrib-hls itself. I'm testing a few videos that were processed with Amazon's Elastic Transcoder (HLS protocol version 4) and I'm experiencing some strange behavior. \r\n\r\nOn Chrome the videos take considerably longer to start playing than on an HLS capable browser, and when playback begins, the duration displayed on the player changes to 2x the actual duration of the video. Some times when you seek forward, the duration will increase again, and then it will keep on increasing over time.\r\n\r\nThis doesn't seem to happen with other HLS streams that I've found on the web (including the one on your test page), but the streams I'm testing play without issues on Safari and Android Chrome using vanilla VideoJS. CORS is also properly set up.\r\n\r\nI don't have the full setup online, but I do have two sample streams with this issue:\r\n[stream 1](https://authproxy-1.ocdevel.net/s3-m3u8/organization-jpenterprises/video-0gRO9PQqL/video-hls-low.m3u8?Signature=h8acTufNizcaa4LwTQftKJfYsf4lZwNINHKUz~dcPirKyCr9kEMg33eG0dU5AMntoQP5O5k3Rs4KZrWvcl9iFEhKrnO80D4FD98Z6qBChmt3fNEB1-xff5gRu9ZE6QKA6unq1Pszl~m-~xLSlG4-7EsGgrSRrtp2swD93b5SOG14VeWSWUM9wK5mgkml4tE51mFZhoQ8f9OqTC2bLnJHIC1UjcZ9t0NyBaZRy7vesk03bHBopG1LAqErsHFJqfRa2yTAOX1LF7NWpbFPSrKoQqnzhS~C~BlsOQWCPnO6dUlG815~DlsVUBEUzx3LnZ0chKbUzI9mON3MxAZAVyiptg__&Key-Pair-Id=APKAJ5JH3L2ZNI5QDHEQ&Expires=2147483647)\r\n[stream 2](https://authproxy-1.ocdevel.net/s3-m3u8/organization-mergetests/video-yRwEYDmGZ/video-hls-low.m3u8?Signature=F1DSwemAq9l28zEdd~PLBFforcBk4iR9GB1~LpXRU7MfozFxljbRmxeDs8b62Npz5iechSsd4wFIhqPX5AY2TIqcGU406gIxlzSDKZ9M7UWk4N13qYjUbAtJk3zp-JmETbKkTflg6BmE11dMy8YYTuUoEzAMjTjyI7xTvhRQfmvqj94sB9UoPptIXO1V1h2t7o9pUNrzOR7Cwj6e06sTyTNbq8dijfevW~oHWxNK5~pWpa4Wb0OLYdACL7CSyoGmYcMKYbWUI2yf2ZmIMOFa4SY6rxhAKhQ6hpnHiBO0u1ePzF8UGnYlVj5ZEDhXj~QKWa3NNxqBO-Hh05IaDSQ88A__&Key-Pair-Id=APKAJ5JH3L2ZNI5QDHEQ&Expires=2147483647)\r\n\r\nI'm using the following versions:\r\n- VideoJS: 4.12.10\r\n- VideoJS Flash Component: 4.7.0\r\n- videojs-contrib-media-sources: 0.3.1\r\n- videojs-contrib-hls: 0.17.2 (My streams don't play at all when using 0.17.3)\r\n\r\n**UPDATE**\r\nIt seems that the slow startup issue is due to the fact that we're using the EXT-X-BYTERANGE tag, which doesn't seem to be currently supported by the library (is this correct?). So I guess that since byte ranges are being ignored, the full source file is being downloaded before playback begins. I'm not sure whether this is also related to the increasing duration issue that I'm experiencing.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/comments/183421575","html_url":"https://github.com/videojs/videojs-contrib-hls/issues/342#issuecomment-183421575","issue_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/342","id":183421575,"user":{"login":"dmlap","id":56667,"avatar_url":"https://avatars.githubusercontent.com/u/56667?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlap","html_url":"https://github.com/dmlap","followers_url":"https://api.github.com/users/dmlap/followers","following_url":"https://api.github.com/users/dmlap/following{/other_user}","gists_url":"https://api.github.com/users/dmlap/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlap/subscriptions","organizations_url":"https://api.github.com/users/dmlap/orgs","repos_url":"https://api.github.com/users/dmlap/repos","events_url":"https://api.github.com/users/dmlap/events{/privacy}","received_events_url":"https://api.github.com/users/dmlap/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T17:29:26Z","updated_at":"2016-02-12T17:29:26Z","body":"byte-range support is in!"}}