{"_id":"videojs-hlsjs-plugin","_rev":"28-a9d654b406914140991ce3070f6efbf0","name":"videojs-hlsjs-plugin","dist-tags":{"beta":"1.0.6-beta.171","latest":"1.0.5","rc":"1.0.5"},"versions":{"0.3.0-beta.92":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.3.0-beta.92","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","_id":"videojs-hlsjs-plugin@0.3.0-beta.92","scripts":{},"_shasum":"cf3c0fad5f651b3b4134cf1d426938433e34ac15","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"cf3c0fad5f651b3b4134cf1d426938433e34ac15","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.3.0-beta.92.tgz","fileCount":2,"unpackedSize":221890,"integrity":"sha512-kldpwddtG5cQ/g0XJqUWwivC22qHa4IMfaRg6VzKKCIyklJkCxjQYVcUsoR/e0yKWu8d2nDv/ol/jNaHKD/yng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx03FOXVSx/ENXMxV1BZpGhjfauaE9KXWEWMrrwuWW1AIhALQO/J17c64/rdrciwQ/dIdYyybfpdd1SoUjSwDMab3O"}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.3.0-beta.92_1522852231298_0.47416385030812047"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.0":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.3.0","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","_id":"videojs-hlsjs-plugin@0.3.0","scripts":{},"_shasum":"12bcc4f30ec484ea08c00681dcb7718074f54086","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"12bcc4f30ec484ea08c00681dcb7718074f54086","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.3.0.tgz","fileCount":2,"unpackedSize":221863,"integrity":"sha512-9Lu1J3AnATaGWD5eDGTrf0uhqEBk0lsEY0hsmimjMaWKNhCEgSKpOMNyh+vdw2z4ZF32c8oQrNYRVZGUzhbiIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0mA4FjvhQmj8C9o4C+uvvh6cHU/JBdC+WdqMIYCVcpgIgOauBHWwNGBk8HtwJj6BPLsO8qy/WyxNC9PzxCA+j478="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.3.0_1522854352588_0.3431018672172279"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"0.3.1":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.3.1","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","_id":"videojs-hlsjs-plugin@0.3.1","scripts":{},"_shasum":"2f508c779fd826282b1483aa5f91736876c21d7a","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"2f508c779fd826282b1483aa5f91736876c21d7a","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.3.1.tgz","fileCount":2,"unpackedSize":222114,"integrity":"sha512-CmaY40Fy9uuTFIUs2KjJcb7yKIStxbIh4HQL8Kg6T9k6pPXGo9Hcq+Nyo/9cWaoveBi+rdcvysrcImfGrNzOEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGCTFt4SfqtYH8/fM5rwcl1ltHxw0xAQJ8qxHGNyZYTAIhAL7gD76j/nFlWK76kicYMSBMYpccVaWebqsvw6wHaBxi"}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.3.1_1522947033428_0.00530608937334609"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"0.3.2":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.3.2","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","readme":"ERROR: No README data found!","_id":"videojs-hlsjs-plugin@0.3.2","scripts":{},"_shasum":"100f7c5ef76d32803b4711a246194ce7b5de9912","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"100f7c5ef76d32803b4711a246194ce7b5de9912","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.3.2.tgz","fileCount":2,"unpackedSize":222052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2FtiCRA9TVsSAnZWagAAKx0P/ifZdGC/UissC1pp49hY\nJbThXEP3/qdescb4gYe4AhDDw3BNlB+LKmvSbZocNItJZWICbCvuSq5S+j1l\njoWM0nBx1DoIID2vewgvrjfYp9gUWzDhXAO4GH1kbskemaRtFlAu16FdaD37\n8/2IsUiO4CRswyUcUng1ZXZ4kVAjMoWkrcGJqShvKy1dt+aPas/HQV9MMdfl\nhU8lGrBV3VfcnXUht5smF+hL4dahICO9AZic9YX44yolsu8Std7/vlwlY+J9\nZb5SDlZxu8Tsa2u0txpkD4iJwEkSf9V4l/m2qPya1SSBOaqjhL3c3lED7Irm\nK04u8KGGy1SnqkUnMZo2VNfh+FXHciUbrXYTzHWcXZnEK5PHVuRZC5mnXm8M\nUFSPrYVQ2v48TleUMPaejF91NsQ0g+F0MHn1RZeAl1RIA0bHtfSFkhyxGjxF\nzWSxGDUaHtGUglmFeHDBKBZAIHuP8DxpNuPjzDzsNgHl2Hg6/I3di7ZO40Pn\n5n1tU8kZTQffiCTeGfA/cVY11At/7KK1W5NBGx2EEwIIZL5GICeCIAiRlH+m\nY3553CPTu7NyXpIfRH812OEvLACkfp2pS6QzKStLhDpGgPS/Vt+eizHxgEhZ\ns+9URurgsVACOY/MwysNQnEbQxFMRtOCcsAiz3MJaW+dx1CO51//HIw+FnYc\nZucj\r\n=BT1x\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Ia8iVHNO0Urbu9r444KlI5t8wKqyFqPxp1vASFRcpULxtFe1bXaOfy+wm5TgSzJvooYCITVI4igkT6wp3oQHxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNSErNSz+FzbSYR6P/bO8UQaRuWxegf53rtGc7qr6vnAIhAIFx+IrfTPEBvDb3ql0s2YKoXpRrMbidvst1BcHG1Pe7"}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.3.2_1524128610225_0.529355422586933"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"0.4.0-beta.114":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.4.0-beta.114","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","readme":"ERROR: No README data found!","_id":"videojs-hlsjs-plugin@0.4.0-beta.114","scripts":{},"_shasum":"85b02f32d0fab9adc47235d1780db6d3604b0fe7","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"85b02f32d0fab9adc47235d1780db6d3604b0fe7","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.4.0-beta.114.tgz","fileCount":2,"unpackedSize":222081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2g59CRA9TVsSAnZWagAAVo0P/2zTRYlTwDiLjhhiUOUK\noU7xTPGelVXFPeSKVYatP4HL648Le7VLEW949I0+jPO+0pC44HVZjrDfo4mX\nhO7+gqeZB1qtRhSVC0l21k90Gpm6Zu3/qxM9PQWPqCOjh0VycLCpUKRLJPmg\nwzCurtyLq/+IXpYwzH9kUeRCDFB7/3XWRzvJ5gJ9Q1IJZTi+8fJpI/Xauy3y\nx1MGu07XmgjdfFgDqJtIFBNaypP7rfDXDW+GcjGzU2xqiCpr/1TBLlaHCs3A\ntEq5OI/XFOnDHcoSM9QnJKZZsZLQhU4fVc7J/pTW9UcP17cGVFEoZQV01Htp\nPdkYb9vQEjXZU6HKVFxd3cFEGHCRpPVVkDaknlLPiGDguPge5xwQkaZb3F8m\niJEfgANnPd2Sw7gFuxXU5B7UH0JFZb9rxhPu87QiTQOmUxsnEgWj4uYX6/Bv\nBo+vPBwdHCfhYkwZBEXbbN5RckQf3VTsyQz66HcDFIQKyP18tJ0DIYULS73b\nbTByVU3jKFF1jOd34XoMKlYnGlyA2VwqXRu4+dDrJqcgdC58DuvRKXSJBTIv\n47Sxxd8F2XKzTU9hAcoWQvYZXTnbvZdciabeNPhqxqrIaCoVW6uP+Ps1esE5\nLf/5rbAn7aU7j+nnV4qoMPEZ1DzSZfcWRc+C7UssobjbYHccHW8RWigdAQnk\nL5pP\r\n=31a+\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-/Zcef2UyzGLJ9T0PxP3cjBXqW2oyS8NDgG9xgL+e5CE5chRu6E7dwFx6hwCxMOcz1tb4u1UI/UADSHD/QZ4Euw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAIhK+YZBXBqxGkY9w7LFIWXBbKsjETeg3jSUwDz0B95AiAPSfDbn1+kDVJY5ZqYgaK0hJzRPzlw67IEkwzKMEfJyg=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.4.0-beta.114_1524239996763_0.5429431504189817"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.3.3":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.3.3","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","readme":"ERROR: No README data found!","_id":"videojs-hlsjs-plugin@0.3.3","scripts":{},"_shasum":"199c756b96af69b9d226feeab9eb837bbfc5bc05","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"199c756b96af69b9d226feeab9eb837bbfc5bc05","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.3.3.tgz","fileCount":2,"unpackedSize":222488,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDWSLCRA9TVsSAnZWagAAjhgQAI1I9TZ64DqJv6IgUuAR\nQiSmPR2AzVtRkwrc3izcdW7XREy1fr6OG+W1i3T1YT7WhnOb7UgBeTWFhg6K\nQBWAgSq00oEtfIwP4BXp5a7G3AwnOkNZxZt+gR1X+Ie+/T74q222OpMPP7TA\nh5ai9eQ9I79NFup5rUrddrE2DIcs2FssJvbN7gA+PBvFQcB9EPugrA4Wp5vZ\nEqXLOOD2V3qY/KUq0OCxAqXNNodC1fKXr8f/oXqzEi5kxkQDuCung73AErog\nObHZg/WDZ3x1V/Ga7u76ep9ctKQBCvRzfXFvx3rzfNpgO3Lv8g+m58CObWvc\n5VKDD5XpslrAwZ7lX1EU7I68Oqpw0hwh2oUYlJf9XV7e6MAe4OjSBS2Ho+/b\nxlmeZrJ4hlM+pQ3C07Nm661Uns825dITCO1+fFHA6msGhLjgNdGiqGIaKr8C\nPmp+1ViyB/CmRRDukwJhLIwa3FyQXZinpAae7Sz8dkvhLujj/29grBwhlGXD\nzia+KYYIkQ7AoEGJpouuJTba5LgrIoXxBNsf+2PGkUpDekipKv+ZxppMi11a\nlqZtbTzoMHRqpTC5ediKVWj6rpUp0I3ckdkn5oDFXuRDHq0DkoLTLYt3mdxl\nORng4ucqee8o8OeqtJ9SDGvp+BmC2n1zASDpfoFJoSSHtem6MJM/gm8YaoMx\nKdmP\r\n=CxrF\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-sC8WZPK+9SfwtQ+PNWaCSNRnDBMrMr/C27YPhntT5bvFfx7KOmrO6zGbahg35Q7cjgZ0TMDdRvIHLc1qGBXvzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmTjhTs0ezXIQ2oNpP0OWwz8AYiZByhwjdvaeZvd4PgAiAXruPe7mLaCSGuK8leP0QHtSapojfr94QIK+MlgwMAIw=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.3.3_1527604363336_0.45314769908264263"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"0.3.4":{"name":"videojs-hlsjs-plugin","author":{"name":"Streamroot","email":"contact@streamroot.io"},"version":"0.3.4","main":"./dist/videojs-hlsjs-plugin.js","publishConfig":{"registry":"https://registry.npmjs.org"},"homepage":"http://www.streamroot.io","readme":"ERROR: No README data found!","_id":"videojs-hlsjs-plugin@0.3.4","scripts":{},"_shasum":"1ec6555ddc561e77c28c1f3ecabb2c6df3f14daa","_from":"dist","_resolved":"file:dist","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"1ec6555ddc561e77c28c1f3ecabb2c6df3f14daa","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.3.4.tgz","fileCount":2,"unpackedSize":223887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGUNECRA9TVsSAnZWagAA4KUP/1bptuypsvK5Nnl/4ofG\nJd6/6huiNdEMSO3pKO/NcrdbU4lIAjPUkioGCNAuyWQO6BZr+9+Oq5CDhZw8\nPRgPQuIb94LB0c+JapfX169OmrF/3IXocAlpGq2QG629A+aAOG7Tt75AquO1\ne4eqc/MYlszBtifuUkTsGg47vF3mixafQEnch/fmBl7ZVHstxcctcrRJV+Cr\npn0YTjX64PyylbKn4Ky9Ubx8LlEH59h6Dw55hKdziBt9r6Km466spGO2DNxf\nly5XsKRHpiAbITWxSCK11v4mihfdipebQgB/Y5UVUqTiD/9Gn/yyHeLLbWlT\nRoK/pjS6YwZcrw+Iy1zqihxybyZYr577UHhM2yjq9cBDxAEnLZjVPdui37SW\nQlQF+DbS6htk2eZCBJOtaJ8HDQ3+d5DxYcbF5LAO4yk8uBDSEWvV30wFIxBe\nzUx7pJOXChawlD4R5nOkZQOb/p8TENN0bi4Tcx6QXEcTBRHfXV5fNlGexJUd\nFHCZEfFBZETrw2HJ6KRiaEJGEw+1gWt7yUKdSyYbSeMA7y1P8/pKDMizJ4Ts\nzKi2KbhwnXkbdmC+pUJpBbphuL4ZwEb2ngKVr7QLfnKpeYT2GFFBZh7yyTUc\n7UOu9zxrXF52Akg7vVdWi1kxq27ud/OjUbud8JqDOIUpZJl4U8VU+eM6SNzN\n9Vo1\r\n=mnzZ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-EpzZ3Xtr/Wg49OZWk46faSkjvawMouCGyrN23eEOBrZb7rby3xIpH+UFUbOdIstCbqmis7hzJ249fnYgx33E8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEDv/hqtmLX5SAFZQPcxr122sE+bxYoF9ZvfHuwploxwIhAJb7TKPp4oukFuPeYDAKu2JYAZVHTrm+8M7rJkpzyS8t"}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.3.4_1528382276337_0.035333743332997436"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"0.4.0-beta.139":{"name":"videojs-hlsjs-plugin","version":"0.4.0-beta.139","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@0.4.0-beta.139","scripts":{},"_shasum":"02478045a29ea2e0eec85d4ae1cad8c36e860def","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"02478045a29ea2e0eec85d4ae1cad8c36e860def","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.4.0-beta.139.tgz","integrity":"sha512-XofItlcPd1UGtvaPlWmmYOcRrT2cIuB/9Mb5t8qv4yFkqAD7MjwoW6uMLkOTgfrDUfO9T8eGv/FPg+d7mXD4CQ==","fileCount":3,"unpackedSize":227045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuVWCRA9TVsSAnZWagAAh5MQAJB/Da/iyZxJvRDuG4jo\niOqFMlv2pVmB5YWXc0vA5P4SLH3SbofRtARCMJeka/jB9dUN1hm9AvsWLt/Q\nlWhhNG1lJFPc2Mf4tdvu4MQVNyvm11Bk67dkjy6L4SyhJ+4NwgnwIRMTkEk1\n5Un7O+lAgcVOe76OMcJHl9MJvHRzY6oNHqk5HaDon5ArO7B+p4Ht8EuF43Wu\ncJuvXBvswS3jvjwQlMzXx1N25ZZyFJHZzAkfZmo57J+Q58LS7kejNALAugop\n5fYdOeFRndYO1ImpKS83Hj1VlVUdeE3u/dgbEem3EvxtlXchFmDH3HET6Igr\nSXODHtPqUs8eXjI/qFluVG2NF9YJgS2dFvrf7dj65IfabJ32dh1R6rl2q9Ty\nS35/oDnYN5Ls0Nvbc+d3Pj4VBfRPebBpAXzTXFPamtifm3j8iIqzoZCOOhPk\nQBZDzjQUxVXaEbDAUthKuHl4tY7xokOtKaUszzKv+hwj4MXLSq4Zc8IYMaQV\ne5mVFc4LdcU3Dnz8OT6wX3YfsRi/7wjs8EKcpcKxPH+N91eZhN7tmzXowaDX\nsEcWwhXZMHTqr4zFliyJtHJlC/KMNMndPbZhIn9VGFgL6MOAN9k3Evx3410G\nGpqRynzsaaStdwN9Ig3EZrSOYUCEWHDIepPql+rpduaOTZ/T2udfKoy8m78g\n5JRL\r\n=WoT0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICM6UvTqmyJvgNdoaTbjO3KEJ5HsvRAxi+rG1qYUOdjZAiArGA5kxrPS89DR21cuqQaxg4vXRTuELSPjVMayqDpXHg=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.4.0-beta.139_1534256470079_0.17853225708278186"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.4.0":{"name":"videojs-hlsjs-plugin","version":"0.4.0","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@0.4.0","scripts":{},"_shasum":"d138427385fa24d50fe945d265c36a1ebd4d4439","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"d138427385fa24d50fe945d265c36a1ebd4d4439","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-0.4.0.tgz","integrity":"sha512-KKCj3LrCSnyrTNQpgg6TPfbk7UV10tZCGH0PR+M1AB1FVXUUhC2FBnn5NXePn+4MictowzNfTs3Z2Gwjd714OA==","fileCount":3,"unpackedSize":227027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcukbCRA9TVsSAnZWagAATGIP/0qn+hXVt7S68iuBsNjg\nsLGJnSVssri5I+eoVSr8ltA4LWfAisrx4N3zhty4FXtT7zjysFGu8CynhGqh\nHXI/sUNxYCL+M/ab1/+jh1MZVMp3zho49vd8ovpBM0w0H0mjvu01K+XYetpJ\nnBUPZuhaQIOiJTFO58S9+uBKrmbBlddQSwn3yGzu+yQt+fgYRcBgOupmVrb2\n75a8n04kqmwEkY+ROHddXgOl27BNvODEErv4y4Pf2cCAogLHPTTqMc4fMJ3S\nuzdEW/0f2z86Gybq85kNpqpCyjm8+kDGZiXn5t2qu72TQGV5nRIw81MSwj4V\nYQvs1rHG8H7DzVq/km9fb6irfRy+ZEEixQFk7WnXS94YAVsNQD2LP7CrhE10\nJywBr19NymdPb93o4GmEqYwYpISSytiE+L8+5xMSr6nMkXLG8JuLrUMI8VGs\nyhSYoqXmh7BRwQNEgZK7VMPUkhdYSWwgrbIp8RPIQY7mLQAv37BruvkoVdsA\nKc48uCDSy+xZapBgJ/TLNDZ1GDBm+ktvpNw7+1IF7w41FdxstGb5sdREk2nh\nFhU1yvYYFOZybzpbvXmIutWUMaJV92yU2aV//jNnLKa+D+19aj2uGGh1nZK0\npRnM1lFrcfUGZFt3b1b3UUARlmtQq3c4lAEAIdeT4OxTOutDDAlGcdw2O92U\nnrMI\r\n=wppp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMCV198oMRX8ii0tvx0VC0sTNQ6EfY6OrAogUXmz6boAiB+mY+CriLtAZu1oiWqXnUVESYrTeRU9tpVNJdfgnUXrQ=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_0.4.0_1534257434936_0.9456985608344703"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.0":{"name":"videojs-hlsjs-plugin","version":"1.0.0","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.0","scripts":{},"_shasum":"773e1474a9de022e5e582eaafbd391d3a279eae8","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"773e1474a9de022e5e582eaafbd391d3a279eae8","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.0.tgz","integrity":"sha512-FCGUCqByzLbVvoC3Oe/PMyu9OYrl2ZQLWJXP6rzCQLn7xpTjOHypAPF6gavO83wuCK1MZd6I+0k7yoCU0xtLCQ==","fileCount":3,"unpackedSize":227027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcvV4CRA9TVsSAnZWagAAaAQP/2nDh4bd234anbMrwlNY\njlI0iMLRIsx3mR5f7VaZ2l2bKokVGgw+Sc6u3aQkR+2HdpsbZVoZqBLuo8j2\nf1XuVBNNU1HJvZlCX/+uuLy+6Tlu/eIq0XxgntRIUO20jkc9alHeUUOwO0w+\n0M6TacWzvuGJiOnxefJwEGJCxon8FrX2tJda6OYMyhW9GSnXz0Q4lEcDX/iw\ndylR2tOlUOIqGR42OiXHd1Ycqp09wgbF+24rj4pXdiLygWIcEk4Niz2lN0n+\n4lZfe6XHq21vagd3p+hA4NvQQW2c/1cqQnLXGFj9zZMQUzBT9R0iKAEyIiUk\npnuPMYzRmrxi6Wx9n7TnPZ5mec8s1MMQetD0gSgrjK1Fg+gv5KMqxCvkqDDe\newDGD02B1oEawb0KSsk2nTuxct6UTLfBWmfceUdtihSFvwvQCbgLtmIvIneO\nXQViO/fQhq2nsrm1DtCQyV84lQH9LPp73uxcSWH6etfnUCZzu5grx/5xCtNi\nnlLG2e8qzzGw/mdeuKm61BpzvmTXmC2NAV1rj5Q8ySoE19F5Wu7Oz4MMjeWp\nAbuy7ecKa1k5bPBy6VRepSE2mudHqG3jOrQHqpTA7MoctElwe6gc9y49Y0/B\n5Zyh7TxaXYtYu40ZyexrICr8/w7nReVDVlW6Tmn16kiZP3LlcWE4QBvQB2/K\nhJZi\r\n=1Y0L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGuhoEhIbhyuHDsLk69lp/Bs2jyJ3SpsMPFN7WPQZGypAiAf96Po1vEVialqnVaujg8EYqGilV1q9wbmjK4011tleQ=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.0_1534260600508_0.0818384627251445"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.1":{"name":"videojs-hlsjs-plugin","version":"1.0.1","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.1","scripts":{},"_shasum":"a0f97135a85fcea71e092fc12f992b8f7d5cd357","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"a0f97135a85fcea71e092fc12f992b8f7d5cd357","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.1.tgz","integrity":"sha512-sNoH8LMjC6iUdDdxnaHCzHiizS6Tkv2gvFUlY8K9OaAt8OAyGvdRytx7pRQarPgHGVfbrdCcZtgU11vO0XQjrQ==","fileCount":3,"unpackedSize":227060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbf/ZjCRA9TVsSAnZWagAAtAoQAJk/6GsVgukdPlFs+UJj\n3ShOR9JhOWCaGudl82xD1DgrVaf4GPf+N5w+yRYZYnZGXjiUunvMoSC7wFhP\nqjlHAktCK1yyO9DRyJk8IzhU9ZJoRiFgway2/FCsR00eTfAgxwnZG4cBuHsj\nW63F2jHEi8mF4+DFEl6Og/vJ2qxXe81UrUmktb5dLb33awyhn6bqV8VWezUk\nYxjuZyyusy4JUCTzZn0CjtDO2SLgofnqne9RPIa1dYUDunfEQJ8CNkXqYGWz\nI8gtCwW6yg+FPEOxBoTrEzBlvbUh071dbnqwEhYSDh2KX8cO1KqoLuy6Ew1V\n7V5clyq+A/g+iUM8sip7GRhqqMni3S1VXU5Iuwgm3J0Mm1RP/QrKIMQplXgI\neNnk1c7NV+4ic4MPbnnO1Sk84Y0kDljPgytGvvcOG7urXmxr3loa3qHHApXz\nq7V1tEzvhWjCbRNsBX4pcl+JADUbHapxEfhcm2dKiAngvxwOV+QvWqlTGIQU\nLHDGqOot4pfoYYLGSu9S4hQkzM9KylfxsbHbOq+S/LjJl+tnyehN9BN03EJA\nTQfDelf4Wt1lKbkC1cqoyWaprKEpRjse0ffuIzpd7xXYsYXvzVAKPp+wxZSR\nRBIkzJRFls21nPNPrn76Vm46GDbENnVUpJJ3yX6tVLX3qI1qOY45DkqGJ29I\nySNo\r\n=D69y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAW5vaGIikQ5FifhTruKvyCKBKIZKjORaqMb1welmBWZAiEA5+2leRSIadseQeDFBqyqywKClXU83QFZs2tiN7h8Fm4="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.1_1535112802644_0.4592642271047236"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.2":{"name":"videojs-hlsjs-plugin","version":"1.0.2","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.2","scripts":{},"_shasum":"28890f75c4e37025a0d81c5cbbc277cb799cf45f","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"28890f75c4e37025a0d81c5cbbc277cb799cf45f","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.2.tgz","integrity":"sha512-V1XBVXe1FYKV6trC6gh2KUXs/NzMc6GoDBNqy5kqB1is6wgdJaUbf+AByJ55m4TN3+b8d4fO28dCX7p534SJrQ==","fileCount":3,"unpackedSize":226374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkR7fCRA9TVsSAnZWagAAuboP/A827NROETUI9OEu/uh3\noCyVV/LeNgHUIQGuriKm83tmsgCYETqMwaDxc0Y2LZRD4tBHK+I/j+h1h2wI\nL01FwAQDGbrsMp+RUfBsP7S56gFWAWif4/bE9IttVYvtk4VnRfwTN+jWTL9S\nen+jgFT5EoF3t0789iq1W3xaCdey7JXGc0LksmuIGEUjGHMC1CF80IPH3Hor\ni1i8rB4e4/scrMdCuwttqeK8vhFNmZrEPzke9Scy6JBcwUREf54OwnctBguM\n/uCfRddM4q0ejGEEcvaO2F6zu9equaFjwx097/Rv+WxES1CTz4SHUcK0cI9N\nSrEU7oR05CY/63y2vRvVuAK3fTqUwHqnOcUCl0q8nLItDcpuDuORCJlDOk9K\n9CxKvoi97y+cyIPzfS3BUA20XowKlmg3kgrJFpTV0jco8lrzTSi0g3VS8peH\nMFI9BFe700OCiasNbGU5NuRQdhkvhKXnqk64cNE8SuhHR36uLACDVMOMQasq\nTodw5RLp6eIJCdqg2MAOe8a/VIzyu5/ini0X7HBZMCNPkNLXtjpsFYRJ/rYh\ncoRyzLfcXf6EUlkkscIiUyf6toD6Kx7RHV6c0wlkPN/So7NhUV6IYC9DkoOu\n/qgSESfZN6Db/tMD+gd2fI69710DlxwfnD1nVkhvp1i6/65Ew9H+jNFkynl/\nzgL7\r\n=kgT9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRdwzZCUjqtBsEAc3TMTAWc6RrZ6xbUNY7GCoWvD5MHAiAjDtCnDd6FHJsfaSCLfjuLwr0ZzH3R5ia3EY36CnDu6Q=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.2_1536237278678_0.05926688068306096"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.3":{"name":"videojs-hlsjs-plugin","version":"1.0.3","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.3","scripts":{},"_shasum":"01225b8f436449df5d2288179eee404264fd5c41","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"01225b8f436449df5d2288179eee404264fd5c41","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.3.tgz","integrity":"sha512-AeP5SCUwqHvA4gOcptEAz4gR8gYysEOgvxw6ToE2mWFCNPGidrVbTKlvYUnX6rT432pKPuMz4xauTAkY52fNGw==","fileCount":3,"unpackedSize":226769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmS1xCRA9TVsSAnZWagAAgaoP/19m8HzuNaXndI5zAfLp\nrGhTUQD9yoLGMuRY4urjOzX2isducSQJLDSho14d40i89x708GC7AdmbSJvg\nA883ZCviYp7iIps0c/0Uz+mhjFntBP9VN0elO/LI05Fqn99r8oQd07dROuBT\nholYqixCj3iKRzBAdi5/31fhzqA0uvV/ZEuOWwejhDZffl3AT9wzLGQn7BVV\nYBOvJX7HQblYSAr7HVhwTR9zkROHOnaCfXhrHr6JEu7eOnc0G4yNpPDquvhU\nijbyEtGp2BDfTRZBa9ffTZdVAcenF1U3L0aVY3BJQdvCIUk/37iROeijkEjG\nhh7ZcONlh3CsfljO2t77iOlhIpj3qvWzUtTq61qPJo4jvUx7BohC7fQDZmxk\nQ6rG7Wpc34Jrsw9Ho98QUzt1bWdZPvWAELsBZlXveAQ1nBh5+QCSACQyaq2b\nNMiNB46G8WhL2xRvv39uTVCftN3Bq7HYAgflFATaDA1bCUeiw6WQKyZxJk62\nV9NCs+/Gf7k00ZOVjZhpYTs4T7UM5owBGgWa4k8jrEA6mnqIBLWKbT6jJUQd\naM9iIJ7h+JQdQ6znYLUaYdkjREtym3kuTV6hNnp29xwZE76qGWLG17nXJUmN\nQyCc7h1evmBtOwfMOjwXyCpVUz92O//mlDerBQwOLZKgUAhTDLfp8HxqAuU6\nJRu9\r\n=iQXG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcP8+0UFnobT9H6hqCW2x/3+B27cBfYmgqlHb89xh33AiEA71X4wxx/15b3gRQMokFFrceGm1ftgSeGU5B3t8r9MIg="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.3_1536765297099_0.884306281338429"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.4":{"name":"videojs-hlsjs-plugin","version":"1.0.4","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.4","scripts":{},"_shasum":"15286db0f214111fafdcd691efc9b213109beade","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"15286db0f214111fafdcd691efc9b213109beade","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.4.tgz","integrity":"sha512-qfbGTKhVFLIV3yRwzNfjLA5d6rjwn0RKGKb93CC3xfc9H1QabhEp/XbAB21dnYRPHjwfHIDjMMDdmC2c+A52Jw==","fileCount":3,"unpackedSize":227268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn7UeCRA9TVsSAnZWagAASzUP/3oz+OtvyPtSXBBEj/57\njZ1BLwiSKGqAGBnvfxU97kYpxA9svl7mcoh8rDTBoohIn/8EoarnMKsxkxNI\nv9QPHKZysfMHavIPVNNLiQJL7nsFmvRTygZt8eCcIDHyGgwzCnHBCsM1WK/7\nqq3otMrSjC6LKcWvxW+FnHPO+tv3rhW8FatouC+VdtRN4OSQ/cKWE/eVJOxo\njLLpXq+VN6GufX8NgLm5GHpJ3SBfjwElhS9IXxSxTZ9x18o5a90/lcVz2j3M\nH8nWV/wXME3YT7a21qrFfjYuQPKeHjECjeYP6uVHaXgLluwvD65fkLkXb386\nr9DWr7tkFi/+zOxZBcQGCgTnQPdmf+pOS5b9RMayLFFeYaQutlPj7vfiZwF5\nLIiG4boTqMpHWkUvKFbXdF82mMTXFvH5YnGbICez3+Dv2kPOt401Cc+QD30H\nUU/6uS6yvs8dfENrrvxX2j5Yud4UxDF1EoRxrY/xuWaJ6TN4PPnNk1sHMo6G\nN4xyA5g/dFFDy9aUaP6jderELEA16WNoTBs2vJgAG7v1YmQT/VtOeiKh/ina\np95DP71n7Wi2y59JMrdun4fnLOrEAjYjs636yJGDl74P420iLD1OyUc3ThVf\noFFU5ZrFIa3iSXyBz/nPRHvi3Q8nr+bPwvfjE6vB4L5EFdN/VQvij9XnX4xr\nbxJs\r\n=LhCZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjCS66YkEcUfZKjNnxEgw/ADhD33Lyori4l2G5RVSIMAIgWRLFMZhTF3O1Oy4C31tykp9Syjjls/P3agY7V7B7Jh4="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.4_1537193245269_0.7956609463428241"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.5":{"name":"videojs-hlsjs-plugin","version":"1.0.5","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.5","scripts":{},"_shasum":"97acf4b194b353f817c372aecc2c314635e36e65","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"97acf4b194b353f817c372aecc2c314635e36e65","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.5.tgz","integrity":"sha512-zDk15BM2IdA/BAUspAofLvASQGpil/iNYOkAxycskSsEhaL7VQ9yvvkhYHy5aHWWZWaE8AVrzFAdM97859MS8g==","fileCount":3,"unpackedSize":227312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2XeJCRA9TVsSAnZWagAArmgP/iEmueP9wOl1HbCBQwKr\ncUegoY3tUNFRybiT89eOo6qIt5lgapeOlS8vqTb0KlwKqe3TaAAjUSESbvK/\ncYzc/FTOTyF2H58oyifl9URuqTSvEvi3VVzGg11Qb57jmkfGGn8prfeHceDe\nc49TEI8IRYOj7KwUn5Bj+ytyRjnd8MxoyLwFja1blcvMbci7Kq81xDCHU3Jy\nbvrqFmX+0tsmuHlhva+8DOSMrpmyVmGBo26dIW1eZwfzQZkKBxbRVt1NBir1\ndKYmPq4G87QSiKtFlekFkoJL+gVKMlxiVAHr38QcQ5ojt6fSw4iOHri6CV7s\nFTE9RlGH9W9QUTUKsfIvK9HxPdMQCD2Z1bG0/oa8NVEC2QYWjJVaGsoHdVnz\nhuErDjiGYZPTRPf8HQt9/vXXt6gyv6927irb0n4qY/4BmKwNrpLiXXcgc+Tb\nA2BPof84QJ7rCgdYVNRvW6cViGd5iT3h+gZX1rO5ybu812eeL+N5f5qWgkHd\n20SdBwOudV1/Q2k2ZREEta6OIaS0jXZtuMMNE12cAOXxTNEA36VEp3ghbvd2\nVFnETY4psEf+syZWiqyjKAa0rSP3A9LnDbGuSj18CmlD5rsn9+QxOtC9XVaK\npz5gO0b+JCXZoUC4jnBb8zHFZEACVBScEI7Mn2jUkUueoloM243Tjcxqx5fX\nOv29\r\n=afr3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKd7QM9j1oM6J5qL5yILxzrPRr4bfOyo97jf0yTptS2AiB1JpK0KIt3P4w++RqfyCdb3NEVcf2pQd41YE3AZHXMQw=="}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.5_1540978568408_0.12265352358276105"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of @streamroot/videojs-hlsjs-plugin"},"1.0.6-beta.171":{"name":"videojs-hlsjs-plugin","version":"1.0.6-beta.171","main":"./videojs-hlsjs-plugin.js","homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"readme":"# video.js HLS Source Handler\n\nAdds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).\n\n## Installation\n\nA pre-built version is available: https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js\n\n## Manually build the plugin\n\nClone the repository.\nInstall the dependcies `npm install`.\nUse `npm run build` to build the dist scripts.\n\n## Usage\n### CDN\nInclude video.js and videojs-hlsjs-plugin.js in your page:\n\n```html\n<html>\n<head>\n    <link href=\"http://vjs.zencdn.net/6.6.3/video-js.css\" rel=\"stylesheet\">\n    <script src=\"http://vjs.zencdn.net/6.6.3/video.js\"></script>\n\n    <script src=\"videojs-hlsjs-plugin.js\"></script>\n</head>\n<body>\n    <video id=example-video width=600 height=300 class=\"video-js vjs-default-skin\" controls>\n        <source src=\"http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8\" type=\"application/x-mpegURL\">\n    </video>\n    <script>\n        var options = {\n            html5: {\n                hlsjsConfig: {\n                  // Put your hls.js config here\n                }\n            }\n        };\n\n        // setup beforeinitialize hook\n        videojs.Html5Hlsjs.addHook('beforeinitialize', (videojsPlayer, hlsjsInstance) => {\n            // here you can interact with hls.js instance and/or video.js playback is initialized\n        });\n\n        var player = videojs('example-video', options);\n    </script>\n</body>\n</html>\n```\n\nThere are several ways of getting video.js files, you can read about them [in official documentation](http://videojs.com/getting-started/) and choose the one that match your needs best.\n\n### NPM\n\n```javascript\nconst videojs = require('video.js');\nconst videojsHlsjsSourceHandler = require('videojs-hlsjs-plugin');\n\nvideojsHlsjsSourceHandler.register(videojs);\n```\n\n### Passing configuration options to hls.js\n\nDefine `hlsjsConfig` property in `html5` field of video.js options object and pass it as second param to videojs constructor. List of available hls.js options [is here](https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning):\n\n```javascript\n<script>\n    var options = {\n        html5: {\n            hlsjsConfig: {\n                debug: true\n            }\n        }\n    };\n    var player = videojs('example-video', options);\n</script>\n```\n\n### Initialization Hook\n\nSometimes you may need to extend hls.js, or have access to the hls.js before playback starts. For these cases, you can register a function to the `beforeinitialize` hook, which will be called right after hls.js instance is created.\n\nYour function should have two parameters:\n 1. The video.js Player instance\n 2. The hls.js instance\n\n```javascript\nvar callback = function(videojsPlayer, hlsjs) {\n  // do something\n};\n\nvideojs.Html5Hlsjs.addHook('beforeinitialize', callback);\n```\n\nYou can remove the hook by:\n```javascript\nvideojs.Html5Hlsjs.removeHook('beforeinitialize', callback);\n```\n\nYou can add as many `beforeinitialize` hooks as necessary by calling `videojs.Html5Hlsjs.addHook` several times.\n","readmeFilename":"README.md","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"_id":"videojs-hlsjs-plugin@1.0.6-beta.171","scripts":{},"_shasum":"03a13b32d5a4cf04fe96ba1705d1536e5aeb95e6","_from":"build/release","_resolved":"file:build/release","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"streamroot","email":"test@streamroot.io"},"dist":{"shasum":"03a13b32d5a4cf04fe96ba1705d1536e5aeb95e6","tarball":"https://registry.npmjs.org/videojs-hlsjs-plugin/-/videojs-hlsjs-plugin-1.0.6-beta.171.tgz","integrity":"sha512-GhzvcNPPfYhgJGzz982pHXLI04XzF5GRo8W6YQY0M8+jcPhQYqD0xIVG9aETjvPZtujyN8U5nVLXkfyUUBWCOQ==","fileCount":3,"unpackedSize":227330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2XeuCRA9TVsSAnZWagAAUD4QAJwA6SLVQcI9ZCdirWKy\nFiw0hLgMG+1KAvTVpw0n6D+i4bDGPNirC9R6es8fY04oXzH+gUEVasYwT4Fd\n/DPDcsTPZ8uB0afF9+LRW8120ktSwkIGLxDc0DH/a5Ct7QYeOstZjjHYknm3\nCifBGdNR4fIm4izeSPKTqMbK2ztHTL39vFpOu1LblXJ7TxS7U+NbI0XwkD3T\n7wFxfACCuFWytkt7JdanQxD1sb7IpH9ttLB8lwHZfLRYpgPj5/PaZ0t0fvOv\nugacKW9Urw+sg36JyJqyrAJ7sgG3u9VNszXKH8KZKWp3iYBd3yBK6BlGxJtX\n9FwhJ/6MXmyDmICHMvTlgWHt/KZDlfb/m7haWDv0lCB8A1YhrKs9VO8L7oXy\n0/GrZBbhdHzgztlgs67HFruEOqenXLKKq7E1UMDNE86UQU9hLcog3cAgy6aQ\n5TyhHMayXEsnOneudwSMptD3yEiyPi1PJd61JsRF7uQQ7opy1gaqzdKSq56g\nLgTmEbBbaDkgcTJa1CuwCPT6G8QOYiNHJr6osH1KdeBrBTclY32r8xv7DvMa\n2L6Ox1VEx9SCfIXbcyvZikCUsodi+UOsJI1RZq22NPLWCCHkXZz7PtQpX6Uu\n48J61AWrz+Pg8xDL9x1sIk3Vgn4fyYWGmfzQMzW9gME0oz1F6tpVyQnNnbqH\n+VCs\r\n=1Zs8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3RbUiGJ55hmupXBdwGgBcafLPLzSIyzHooGGBhkIYxQIhAPvTQhTHur9K2SVKfs6lwzGAUOF4iMjBPLIHWC+fhyDk"}]},"maintainers":[{"name":"streamroot","email":"test@streamroot.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videojs-hlsjs-plugin_1.0.6-beta.171_1540978605765_0.19780342949232899"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2018-04-04T14:30:31.297Z","0.3.0-beta.92":"2018-04-04T14:30:31.512Z","modified":"2024-01-10T10:33:29.275Z","0.3.0":"2018-04-04T15:05:52.644Z","0.3.1":"2018-04-05T16:50:33.531Z","0.3.2":"2018-04-19T09:03:30.305Z","0.4.0-beta.114":"2018-04-20T15:59:56.901Z","0.3.3":"2018-05-29T14:32:43.395Z","0.3.4":"2018-06-07T14:37:56.426Z","0.4.0-beta.139":"2018-08-14T14:21:10.393Z","0.4.0":"2018-08-14T14:37:15.061Z","1.0.0":"2018-08-14T15:30:00.563Z","1.0.1":"2018-08-24T12:13:22.760Z","1.0.2":"2018-09-06T12:34:39.146Z","1.0.3":"2018-09-12T15:14:57.243Z","1.0.4":"2018-09-17T14:07:25.421Z","1.0.5":"2018-10-31T09:36:08.587Z","1.0.6-beta.171":"2018-10-31T09:36:45.878Z"},"maintainers":[{"email":"support@npmjs.com","name":"npm-support"}],"homepage":"http://www.streamroot.io","author":{"name":"Streamroot","email":"contact@streamroot.io"},"readme":"","readmeFilename":"","description":"Adds HLS playback support to [video.js 5.0+](https://github.com/videojs/video.js) using [hls.js library](https://github.com/video-dev/hls.js/).","repository":{"type":"git","url":"git+ssh://git@github.com/streamroot/videojs-hlsjs-plugin.git"},"bugs":{"url":"https://github.com/streamroot/videojs-hlsjs-plugin/issues"},"license":"MIT"}