{"_id":"videojs-hlsjs","_rev":"18-d48e8de6e49783737f95726b76dfe00a","name":"videojs-hlsjs","dist-tags":{"latest":"1.4.8"},"versions":{"1.4.1":{"name":"videojs-hlsjs","version":"1.4.1","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.1","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"3656ed4e37006d374e89b47d93f07838e6ded320","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.1.tgz","integrity":"sha512-uzBvnKs7B8+o6tS6L+s9v0U3f9Q/garIHz9/06L9d2Fh9NkaS+BJN72U5DPD3CeRrTvafxKJmgrGcGsNgVF73g==","signatures":[{"sig":"MEUCIQDyR9qabWDkzQ269zMa/7CNn/SnbzQgbsHWztdVFMZgnwIgRl5Ax9cUa9Tjrh9zbFrEL52B400aU/AtLazdd96jhzM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"3656ed4e37006d374e89b47d93f07838e6ded320","gitHead":"070b77baf79c7b50cb74418b3291324fb503af51","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.6.10","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.1.tgz_1487085436837_0.7411977327428758","host":"packages-18-east.internal.npmjs.com"}},"1.4.2":{"name":"videojs-hlsjs","version":"1.4.2","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.2","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"cd98b9854e51a0987996cbafceea8540ec67b201","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.2.tgz","integrity":"sha512-/oV1YIT0DJmdyW2drqGDWJRbiQE8rpICdqBImU7qYl7WErn8MF0s2h6GznTnVsMov9j0VTmkob2amZn8fndbcA==","signatures":[{"sig":"MEUCIQDw8uUeBayi4i2GiZx72e1Imjg/y3zOLOikkJN0dAIlcgIgLmAMjom9A5jC1pV9N1SAX+Kwivi9oUqwOwfaep5JLjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"cd98b9854e51a0987996cbafceea8540ec67b201","gitHead":"fc7bc25491b5d82cbe33b272b390de8565df1e43","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.6.10","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.2.tgz_1487171429352_0.9683720110915601","host":"packages-12-west.internal.npmjs.com"}},"1.4.3":{"name":"videojs-hlsjs","version":"1.4.3","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.3","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"03f6b0d56a9fb638d3c69133aeeea0af266f0b1c","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.3.tgz","integrity":"sha512-A5/7UpBWdEKN7/VUPHXux4nOpd8h27UTEakdUyrT/MqywWz8Ph/B4akDd/EE7BN7G1xN0sQtCwt6HyUzIPi94w==","signatures":[{"sig":"MEYCIQDvV/AnusSXz4+FiIk6dgUPg2NtxnlM+AdhjMWVR2P/bQIhAPYYb1PYs6ZA89OzEX85shD+k3gGCpQV6ihvtMUnzbFv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"03f6b0d56a9fb638d3c69133aeeea0af266f0b1c","gitHead":"b8aeba2bfad68c43b8ac11c607dfb3189064bdd1","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.6.10","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.3.tgz_1488461356972_0.8019075132906437","host":"packages-12-west.internal.npmjs.com"}},"1.4.4":{"name":"videojs-hlsjs","version":"1.4.4","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.4","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"4c67f4849bcf6dad016b62d2708df7c462db06a2","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.4.tgz","integrity":"sha512-3/aM+OWyYEVlHarhrurghewqcE0Io739ATMI7kJ1hAR2KUxxrctx8wBz84s7CQ747Rv4+TgVxDXyKWabogIj4w==","signatures":[{"sig":"MEYCIQDv+ND1jUQgodjYuPEqZzLW3UnQ+81E73sBIQRqWMZnLQIhAKUKZH/4Rc6cwmzKWuEiaH0SLlelCWcTtH8or3W6bqs5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"4c67f4849bcf6dad016b62d2708df7c462db06a2","gitHead":"4544a51fc8df40b0fc3c5f4ae77867891808dd1d","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.7.0","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.4.tgz_1493219434794_0.4665616580750793","host":"packages-12-west.internal.npmjs.com"}},"1.4.5":{"name":"videojs-hlsjs","version":"1.4.5","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.5","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"823480f6a10449f404e33103a7efd081e5facd17","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.5.tgz","integrity":"sha512-aYfX0Z2vyu4vJFG9pZyC8NrqELqqnbh9fbHm5J7YpBjq8o9DiYzd5rv84q3PSDd1LLLc+SaWF2P4slR0REcPQQ==","signatures":[{"sig":"MEYCIQCYxfcxS+wPed+XFAKk+obQGzkb9lQnTH8LRJYM4hla4AIhAI7nY+5H0GOBcou7AZohR0xJzWkbeaTwYeGdxO6Zi0k9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"823480f6a10449f404e33103a7efd081e5facd17","gitHead":"f7126927fb0f11da989481f97bb33ce741308d06","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.7.0","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.5.tgz_1493654967819_0.7398310310672969","host":"packages-12-west.internal.npmjs.com"}},"1.4.6":{"name":"videojs-hlsjs","version":"1.4.6","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.6","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"a86a65e52619aaaf1e42ce329f9f631b92229e82","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.6.tgz","integrity":"sha512-xtK4Rcr+iUs4BmjFJNiBD5rUYpnm17GFfYGB3+6v+T1FJch98lOr5QKJ2FPfyVQZ1WuRH38qUfX/RWfAo97jxw==","signatures":[{"sig":"MEUCIQCgF+4y/SW4qTu9olUab41jUz6LO4ajEKueLTLJ6fu4kwIgft567OyxykwjSZEDqTCVwYG3G1DkXnbqFR30T7zROX8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"a86a65e52619aaaf1e42ce329f9f631b92229e82","gitHead":"ebe536b95cccd076a901b422bad0ef8e6752451a","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.7.0","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.6.tgz_1493825674594_0.695975576993078","host":"packages-18-east.internal.npmjs.com"}},"1.4.7":{"name":"videojs-hlsjs","version":"1.4.7","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.7","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"cdb4aeeb121358741f8ae5d4e12baa36aa065b59","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.7.tgz","integrity":"sha512-hTWbawbqZFRQggvqkwV1vHNQgAYlDuB1BXacFXyMypoNrw0ERzxhwkzr9nw+atpB/ZPbb3+tO1/eYviHv3J/pw==","signatures":[{"sig":"MEQCIB09oXjF6k3R2oqyX35gez576Jvhe5s8s9F0KM+mZUdyAiBGPk0DF0v815wp8/HohTN3W/ytAKIVZZ17G7I53vi9Jw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"cdb4aeeb121358741f8ae5d4e12baa36aa065b59","gitHead":"93a7b227313f55ede43d15880102cb670444fe5a","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.7.0","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.7.tgz_1496743185169_0.9500295931939036","host":"s3://npm-registry-packages"}},"1.4.8":{"name":"videojs-hlsjs","version":"1.4.8","keywords":["videojs","videojs-plugin","hls","hls.js"],"author":{"name":"SRGSSR"},"license":"MIT","_id":"videojs-hlsjs@1.4.8","maintainers":[{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"}],"homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"dist":{"shasum":"3e9c6cba2b5f11a8a1adb0b829338f44424a7a79","tarball":"https://registry.npmjs.org/videojs-hlsjs/-/videojs-hlsjs-1.4.8.tgz","integrity":"sha512-GekxcbBiA5u+bve/EnXTu6cOKldtNBTsPqSlujSU8yvMx1KXmYJDBTal0SMxhdS2o6WwRXUJABipcljJb9a9sg==","signatures":[{"sig":"MEUCIQDWhg5QdGqHSQCOoXz6mgJWhkypxilg8BkaR0EIm16g6wIgef1RvdbzjIN0TF/Mt51pUFeWze9Ky8FC3QNaQvzM8jk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["dist/","src/","README.md","LICENSE-MIT"],"_shasum":"3e9c6cba2b5f11a8a1adb0b829338f44424a7a79","gitHead":"41c7d91f7a692122c9a4a5380c888e3c40ae8e25","scripts":{},"_npmUser":{"name":"srgssr","email":"spa-technicalplayer@technical-player-srg.ch"},"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"_npmVersion":"3.10.9","description":"hls.js playback plugin for videojs","directories":{},"_nodeVersion":"7.2.0","dependencies":{"hls.js":"^0.7.0","video.js":"^5.8.5"},"devDependencies":{"grunt":"^1.0.1","load-grunt-tasks":"^3.5.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^2.0.0","grunt-contrib-connect":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/videojs-hlsjs-1.4.8.tgz_1496744177552_0.5814153922256082","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-02-14T15:17:17.572Z","modified":"2025-11-11T09:04:45.356Z","1.4.1":"2017-02-14T15:17:17.572Z","1.4.2":"2017-02-15T15:10:31.132Z","1.4.3":"2017-03-02T13:29:19.048Z","1.4.4":"2017-04-26T15:10:36.750Z","1.4.5":"2017-05-01T16:09:29.786Z","1.4.6":"2017-05-03T15:34:35.694Z","1.4.7":"2017-06-06T09:59:46.180Z","1.4.8":"2017-06-06T10:16:18.533Z"},"bugs":{"url":"https://github.com/SRGSSR/videojs-hlsjs/issues"},"author":{"name":"SRGSSR"},"license":"MIT","homepage":"https://github.com/SRGSSR/videojs-hlsjs#readme","keywords":["videojs","videojs-plugin","hls","hls.js"],"repository":{"url":"git+https://github.com/SRGSSR/videojs-hlsjs.git","type":"git"},"description":"hls.js playback plugin for videojs","maintainers":[{"email":"jean-baptiste.balmont@rts.ch","name":"jbblt"},{"email":"amtins.dev@gmail.com","name":"amtins"},{"email":"lizenzmanagement.srg@srgssr.ch","name":"eam_admin_srg"},{"email":"jspboix@gmail.com","name":"jboix"},{"email":"valentin.joubert@swisstxt.ch","name":"valentin.joubert"}],"readme":"# Videojs hls.js Plugin\n\n<img align=\"right\" height=\"30\" src=\"http://www.srgssr.ch/fileadmin/templates/images/SRGLogo.gif\">\n\n> An HLS plugin for video.jas based on hls.js\n\nVideojs hls.js offers hls playback using [hls.js](https://github.com/dailymotion/hls.js). For more details on browser compatibility see th hls.js github page.\n\n- [Getting Started](#getting-started)\n- [Documentation](#documentation)\n  - [Dependencies](#dependencies)\n  - [CORS Considerations](#cors-considerations)\n  - [Options](#options)\n  - [Event Listeners](#event-listeners)\n- [Original Author](#original-author)\n\n## Getting Started\n\nDownload videojs-hlsjs and include it in your page along with video.js:\n\n```html\n<video id=\"video\" preload=\"auto\" class=\"video-js vjs-default-skin\" controls>\n    <source src=\"http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8\" type=\"application/vnd.apple.mpegurl\">\n</video>\n<script src=\"hlsjs.min.js\"></script>\n<script src=\"video.min.js\"></script>\n<script src=\"videojs-hlsjs.min.js\"></script>\n<script>\n    var player = videojs('video', {\n        // hlsjs tech should come before html5, if you want to give precedence to native HLS playback\n        // use the favorNativeHLS option.\n        techOrder: [\"hlsjs\", \"html5\", \"flash\"]\n    });\n</script>\n```\n\nThere's also a [demo](https://srgssr.github.io/videojs-hlsjs/demo) of the plugin that you can check out.\n\n## Changelog\n\n- 1.4.5: Added text and audio tracks compatibility.\n\n## Documentation\n\n### Dependencies\nThis project depends on:\n\n- [video.js](https://github.com/videojs/video.js) 5.8.5+.\n- [hls.js](https://github.com/dailymotion/hls.js) 0.7.0+.\n\n### CORS Considerations\n\nAll HLS resources must be delivered with\n[CORS headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) allowing GET requests.\n\n### Options\n\nYou may pass in an options object to the hls playback technology at player initialization.\n\n#### hlsjs.favorNativeHLS\nType: `Boolean`\n\nWhen the `favorNativeHLS` property is set to `true`, the plugin will prioritize native hls\nover MSE. Note that in the case native streaming is available other options won't have any effect.\n\n#### hlsjs.disableAutoLevel\nType: `Boolean`\n\nWhen the `disableAutoLevel` property is set to `true`, the plugin will completely disable auto leveling based on bandwidth and remove it from the list of available level options.\nIf no level is specified in `hlsjs.startLevelByHeight` or `hlsjs.setLevelByHeight` the plugin will start with the best quality available when this property is set to true.\nUseful for browsers that have trouble switching between different qualities.\n\n#### hlsjs.startLevelByHeight\nType: `Number`\n\nWhen the `startLevelByHeight` property is present, the plugin will start the video on the closest quality to the\nspecified height but the auto leveling will still be enabled unless `hlsjs.disableAutoLevel` was set to `true`. If height metadata is not present in the HLS playlist this property will be ignored.\n\n#### hlsjs.setLevelByHeight\nType: `Number`\n\nWhen the `setLevelByHeight` property is present, the plugin will start the video on the closest quality to the\nspecified height. The auto leveling will be disabled but it will still be selectable unless `hlsjs.disableAutoLevel` was set to `true`. If height metadata is not present in the HLS playlist this property will be ignored.\n\nThis property takes precedence over `hlsjs.startLevelByHeight`.\n\n#### hlsjs.hls\nType `object`\n\nAn object containing hls.js configuration parameters, see in detail:\n[Hls.js Fine Tuning](https://github.com/dailymotion/hls.js/blob/master/doc/API.md#fine-tuning).\n\n**Exceptions:**\n\n* `autoStartLoad` the loading is done through the `preload` attribute of the video tag. This property is always set to `false` when using this plugin.\n* `startLevel` if you set any of the level options above this property will be ignored.\n\n### Event listeners\n\nThis plugin offers the possibility to attach a callback to any hls.js runtime event, see the documetation\nabout the different events here: [Hls.js Runtime Events](https://github.com/dailymotion/hls.js/blob/master/doc/API.md#runtime-events). Simply precede the name of the event in camel case by `on`, see an example:\n\n```js\nvar player = videojs('video', {\n    hlsjs: {\n        /**\n         * Will be called on Hls.Events.MEDIA_ATTACHED.\n         *\n         * @param {Hls} hls      The hls instance from hls.js\n         * @param {Object} data  The data from this HLS runtime event\n         */\n        onMediaAttached: function(hls, data) {\n            // do stuff...\n        }\n    }\n});\n```\n\n## Original Author\n\nThis project was orginally forked from: [videojs-hlsjs](https://github.com/benjipott/videojs-hlsjs), credits to the\noriginal author.","readmeFilename":"README.md","users":{"sohaiil":true}}