{"_id":"videojs-resolution-switcher","_rev":"22-c482bd963a255f31e29214e468c7cf87","name":"videojs-resolution-switcher","description":"Resolution switcher for video.js 5","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"videojs-resolution-switcher","version":"0.1.0","author":{"name":"Kasper Moskwiak"},"description":"Resolution switcher for video.js 5","license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0.0"},"gitHead":"5eac36a0c94689bfe6c5026be1d2abb399abd59f","_id":"videojs-resolution-switcher@0.1.0","scripts":{},"_shasum":"ab979c3444326b46c5a3ce8b3e51fc354e6638e9","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"ab979c3444326b46c5a3ce8b3e51fc354e6638e9","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.1.0.tgz","integrity":"sha512-nm0W+06hYOgf8xEF/2n1znANUfg6H05mb26xa3DEYUPg7GKwK26L/dKJEgCyNk+zH8NoFpmB0BkmTF/OCsxMvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6Q+PZUcdcxZMg4J5STCdSb4ayTbtcfem+6ex+b4rNHwIgKklxFs172nL52kmytL4/aYpSAXThy3i4q0/27wdgMYs="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.1.1":{"name":"videojs-resolution-switcher","version":"0.1.1","author":{"name":"Kasper Moskwiak"},"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0.0"},"gitHead":"83225fbd2ffe8c0db655cb339ea64ecc469e937c","bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.1.1","scripts":{},"_shasum":"8e864d263efdea3f711d2856d6064af7f9249279","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"8e864d263efdea3f711d2856d6064af7f9249279","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.1.1.tgz","integrity":"sha512-FKCPGy2Oi9dVjlFPbkdw3wP/5Y4V4zCTz9/e1/glgMw+thpgWf0RT2970LuiV/KbpZoEGovF7stnWWp+xe4fIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+mwES7nhwxoWVogkMBonFIez85lp747wP1BelyR98SAiEAqFDXfjCdS1RVYrwOLica6yU3Fz10QIl6YbzH1p1RggI="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.1.2":{"name":"videojs-resolution-switcher","version":"0.1.2","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"07ad5a1f2e1800b1517ea2c626ee6e58106e3ba0","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.1.2","scripts":{},"_shasum":"49f05d72926cb768bad1541aa13d28ef6b41d9a4","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"49f05d72926cb768bad1541aa13d28ef6b41d9a4","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.1.2.tgz","integrity":"sha512-s5pFnJQnFrmMI0Y2UcbL68uOoTyrNdzbndGkG2WBeFlLDqdbMoJejrBccJ+ZoQEADPAu9ik/DfaFDF8xiCF7fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFF1/qFHjsEOJKyiTzrq3Sv4Wf6tczX0rZ2WKko+r+ywAiBaM0le0jPqob2Ph/N71guZnPqKOrj8pJnS2TCxMrLSdA=="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.1.3":{"name":"videojs-resolution-switcher","version":"0.1.3","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"b40fc240bceec4774546e8290f250f264a5e30a2","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.1.3","scripts":{},"_shasum":"1ba98e32b740ceb8ee1fd9759bce6c472cd82f2b","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"1ba98e32b740ceb8ee1fd9759bce6c472cd82f2b","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.1.3.tgz","integrity":"sha512-SoeSUBCraIvF8b43/XkP/3UUQAQAWCuJGJ4sfQDDMpcUjxvpbW/bp8M3qKKGE3SBoTIZvtxIzo7WWbjqrXWOZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwau4CwhH+esdwXMuu67ocxrWL7tW+PraVHXsIneNG9QIgN1lgCBjVym50Wa3XEvT+L0LCAiBmosY2THyP8R9idtY="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.1.4":{"name":"videojs-resolution-switcher","version":"0.1.4","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"5c3b697f2575fc1cad93690a362535060422b43e","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.1.4","scripts":{},"_shasum":"cffd698f87dd286272045a885f42f469b764e4a8","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"cffd698f87dd286272045a885f42f469b764e4a8","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.1.4.tgz","integrity":"sha512-ZtK+sfLKpcMSuHY/87odgRJhnxsmDhLZpDSG3g3aVzcfStdU3Pvn3yNwuamGfOuzYjOhKmH5Vn0eswWRaV3T/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAr0V3XZaCcQD2g5XgL+2/CYJkdPRDwcunNqiuY1gBUgAiEA43931ZVCtBBT/yZLT9Wo5n8TUPLS2fG/j8XL8zd9M5U="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.1.5":{"name":"videojs-resolution-switcher","version":"0.1.5","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"535264d165071fce82f8647b9266b625cede48ab","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.1.5","scripts":{},"_shasum":"8e6db4963429dff569c06bea324afe5289512bcf","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"8e6db4963429dff569c06bea324afe5289512bcf","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.1.5.tgz","integrity":"sha512-f/G4U0+2VKz9MIAg755hxyXfvJ8Bl+CaWAHWfexcNtux6rDetp4EhH8Hij72PkGt+PL8oXxUKu3JDRxxMOT2JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/uty5aAkvCTm8syIAlqM2Gk1kICmWHzy1PibZqzMd9gIgYpvmxLfGnNWR/nIzSjv/+fjnXj49GXg471gZa3Rp3kc="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.2.0":{"name":"videojs-resolution-switcher","version":"0.2.0","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"dac6e63f806b23f7730c9727adaeaa24c3d9a868","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.2.0","scripts":{},"_shasum":"a77884880d59dbce4d075e20c31b1e528de53cd1","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"a77884880d59dbce4d075e20c31b1e528de53cd1","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.2.0.tgz","integrity":"sha512-RfDBIjRjE3jkUM2NltQynul8GidXHvTXtRmbVr4fCy8U55KKMX0oaDEcgJD73CjfsSN/4dUkn5dZbzVH2qNWnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKgmr0jBRvjyZUhqCC7In9+BYcBtaPEWQVqBE3VmRvcAiEA1YVtdYtOXGgnLu9cV/+k72P8pd9k8Bxdvfu3vz/LBI4="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.2.1":{"name":"videojs-resolution-switcher","version":"0.2.1","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"894c9fe2bdc5bba6f168c31b29d951d02430e691","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.2.1","scripts":{},"_shasum":"4fb4463cfe2d5a1ac3094af4df557a5830b04f1a","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"4fb4463cfe2d5a1ac3094af4df557a5830b04f1a","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.2.1.tgz","integrity":"sha512-iZAziQ4xatrzTR5MqbUVkK3B3yuAuv8M6hA+JxKdAVWQsrRDF3iNBdHK/DD2njGLb7BfAwZBdomWJj0XLwWy9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3vXIN8IM9BbyUURhkWoENx6/HS2/dm9bp5l0xzJYqLgIgfeHLoUAuf/PwwfTcYbhCP2+E7YFYcdc++/nuFPUcMjo="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.2.2":{"name":"videojs-resolution-switcher","version":"0.2.2","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.4","grunt-contrib-concat":"^0.3","grunt-contrib-jshint":"^0.6","grunt-contrib-qunit":"^0.2","grunt-contrib-uglify":"^0.2","grunt-contrib-watch":"^0.4","video.js":"^5.0","qunitjs":"^1.12"},"peerDependencies":{"video.js":"^5.0"},"gitHead":"8d943b4a985eb6951acd2f86648a85bb7025db31","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.2.2","scripts":{},"_shasum":"927edf8922a81a9417f1e14dafba26c6197a0fe3","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"927edf8922a81a9417f1e14dafba26c6197a0fe3","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.2.2.tgz","integrity":"sha512-Z9bzjliYHwnYm+wPjuT5bxwxq3PjfDz+mymNrVHQGrWClxXGLee9P+77J0mbOuMtvgcZdphquyu9jlUHTelTqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBj/F6Qyok5200vUkI6qiH1eq9Y8D8bEjZJAF4Ntut5QAiAlgsP1F1OjPlTf/7LY9swJErK43xYO044PRH1JgogmPQ=="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.2.3":{"name":"videojs-resolution-switcher","version":"0.2.3","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.7","grunt-contrib-concat":"^0.5","grunt-contrib-jshint":"^0.11","grunt-contrib-qunit":"^0.7","grunt-contrib-uglify":"^0.11","grunt-contrib-watch":"^0.6","video.js":"^5.4","qunitjs":"^1.20"},"peerDependencies":{"video.js":"^5.4"},"gitHead":"d3be001d7de5b6b7da9432786f518cdd9b512993","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.2.3","scripts":{},"_shasum":"6b930b03bd26fd9d682dc31d85e6b24a68a8cd9e","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"6b930b03bd26fd9d682dc31d85e6b24a68a8cd9e","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.2.3.tgz","integrity":"sha512-qNiFg9uilggRXfuRsSCqIsFSeMtmHTdPxWVoqGzcXKT0md9Tff6/fn9OERGGTDMAiw7TMyW6aMNyxR6B+TrG3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC7HW8z0+4cI/hsFltu1gHbjIJgwoENuoH4O2znvAJaCAiEAmfrIhfgquOylxkDxqRhNwkaC/L+56JtE53mtLVu8snc="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.3.0":{"name":"videojs-resolution-switcher","version":"0.3.0","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"dependencies":{},"devDependencies":{"grunt-contrib-clean":"^0.7","grunt-contrib-concat":"^0.5","grunt-contrib-jshint":"^0.11","grunt-contrib-qunit":"^0.7","grunt-contrib-uglify":"^0.11","grunt-contrib-watch":"^0.6","video.js":"^5.4","qunitjs":"^1.20"},"peerDependencies":{"video.js":"^5.4"},"gitHead":"cd88cf2a90ed54d9cc48ba81820db697c4e75fe3","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.3.0","scripts":{},"_shasum":"023dce06c968c3f4639182a518fc95c99d365afb","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"023dce06c968c3f4639182a518fc95c99d365afb","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.3.0.tgz","integrity":"sha512-ZVQsAbICQgHUv0+bIcG6VcLUzvQUoFX0uFdtqEh6cLfvHkdk07AL8+/dw+o0abEslp5Cqyti7WyVIx7jnTTkuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/IPs0qPrh4xOWASnw8+HhaE8xJ+Wg0/sZnJS0ErVUPQIhAK5sxeCwhGH3ctzuR/evE5fLOdlf7I8v9+159pnGaz9p"}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.3.1":{"name":"videojs-resolution-switcher","version":"0.3.1","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"dependencies":{"grunt":"^0.4.5"},"devDependencies":{"grunt-contrib-clean":"^0.7","grunt-contrib-concat":"^0.5","grunt-contrib-jshint":"^0.11","grunt-contrib-qunit":"^0.7","grunt-contrib-uglify":"^0.11","grunt-contrib-watch":"^0.6","video.js":"^5.4","qunitjs":"^1.20"},"peerDependencies":{"video.js":"^5.4"},"gitHead":"2219110b837bc7481b489414fab1517eacabc26a","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.3.1","_shasum":"74173662ec70293aa4cc88b8e11ed33403c1a148","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"74173662ec70293aa4cc88b8e11ed33403c1a148","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.3.1.tgz","integrity":"sha512-cjNwgVN17ksEJyq1npSQAfnvZP0N8lhvhgAT0I/+bkHji7Wjr1/Mx2p94hh08Q7lq0sRT/I7owU/GTiG0ohWSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjx2IaXZZyf2ZJmIYW2h7K7PDexfxqgA/pLp2l2we4UAIhAJF33zNTeIMXw7q6d+tQPHhlLvHXbiRble6qWpMswaL8"}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}]},"0.3.2":{"name":"videojs-resolution-switcher","version":"0.3.2","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"dependencies":{"grunt":"^0.4.5"},"devDependencies":{"grunt-contrib-clean":"^0.7","grunt-contrib-concat":"^0.5","grunt-contrib-jshint":"^0.12","grunt-contrib-qunit":"^1.0","grunt-contrib-uglify":"^0.11","grunt-contrib-watch":"^0.6","video.js":"^5.4","qunitjs":"^1.20"},"peerDependencies":{"video.js":"^5.4"},"gitHead":"9b231adcf8d9618f04fa026bc101c055683f92b3","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.3.2","_shasum":"a49cafcd33fe0965396bbe38be24552d1863b1ef","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"a49cafcd33fe0965396bbe38be24552d1863b1ef","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.3.2.tgz","integrity":"sha512-NK46TLxWKvdStxVfdNGm282a53zXl1Kd5iVSeSySMhlsl1jOdvliJeBKD1AY/zObo7ax4YIN1lq138/BuyAO8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGIIOwyyEDFrXKTv+fDoS6UHrJEvUlJFKVaIMKOEYK/AiB7HE9cadbqHgpxOKI0t3JRBMAzwCo7MHWyoU273okx3g=="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/videojs-resolution-switcher-0.3.2.tgz_1454928185665_0.05740967858582735"}},"0.3.3":{"name":"videojs-resolution-switcher","version":"0.3.3","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-clean":"^1.0","grunt-contrib-concat":"^1.0","grunt-contrib-jshint":"^1.0","grunt-contrib-qunit":"^1.1","grunt-contrib-uglify":"^1.0","grunt-contrib-watch":"^1.0","video.js":"^5.8","qunitjs":"^1.22"},"peerDependencies":{"video.js":"^5.8"},"gitHead":"f19f33caf934fbdd80f9da9871133c7af3f87fb9","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.3.3","_shasum":"eeb717ddba759493caefdcbda5ba4530072be755","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"eeb717ddba759493caefdcbda5ba4530072be755","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.3.3.tgz","integrity":"sha512-6ewVzRnkycGjvvmJ4gDk87DmiLw6GhDTNgCkhwkGdUDZqpuhmMhruOmDHH7SQwk0rIqFOD2jWBE74T9PYCoaug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg8zh2PAp9LHndQl44HDx7xzB1J2sKTFhp80pBvGAb/AIgO6N1R2YDFSqMYpzObFcRWtaynGC+FpoRsJMJzmTraLI="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/videojs-resolution-switcher-0.3.3.tgz_1457893222471_0.32439644262194633"}},"0.3.4":{"name":"videojs-resolution-switcher","version":"0.3.4","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-clean":"^1.0","grunt-contrib-concat":"^1.0","grunt-contrib-jshint":"^1.0","grunt-contrib-qunit":"^1.1","grunt-contrib-uglify":"^1.0","grunt-contrib-watch":"^1.0","video.js":"^5.8","qunitjs":"^1.22"},"peerDependencies":{"video.js":"^5.8"},"gitHead":"46c88bcc4123fb0a351fe451f7dca09e6b67379e","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.3.4","_shasum":"c839ddb10ed202d5fec32f3f3c00f0f00eb77bb1","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"c839ddb10ed202d5fec32f3f3c00f0f00eb77bb1","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.3.4.tgz","integrity":"sha512-vPwO4xV4wJt/9pNiRFaf68jUuevFPJZwqDu0WwwhHMAlbDrrNu2PCmf8rZ6naZRxsXfZ++rBLGG37qHxRYQyZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQqMnZcQrXyo0rZv1GhziF4k9h57pAlhdZU42y24+vBAiAWmb5D6RcK/DlYMzhi94Bgq/vvPG1C/5Fv7NqxJvo3yQ=="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/videojs-resolution-switcher-0.3.4.tgz_1457895997407_0.14241289417259395"}},"0.4.0":{"name":"videojs-resolution-switcher","version":"0.4.0","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-clean":"^1.0","grunt-contrib-concat":"^1.0","grunt-contrib-jshint":"^1.0","grunt-contrib-qunit":"^1.1","grunt-contrib-uglify":"^1.0","grunt-contrib-watch":"^1.0","video.js":"^5.8","qunitjs":"^1.22","videojs-youtube":"^2.0.8"},"peerDependencies":{"video.js":"^5.8"},"gitHead":"85fb0213883e65a04b17bf23728d2486eabe5fe4","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.4.0","_shasum":"aad3fca70686170b38b7a7fa7a3391655e6f05b2","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"aad3fca70686170b38b7a7fa7a3391655e6f05b2","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.4.0.tgz","integrity":"sha512-zpaKPvT/7OHpu7dnhp9V/ZC2MwhQOrgfSszW9fXEpCnF0zlEkl7UH+mqNpmcNPvOyEjy5mtheKRE5xabibIOew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjy2Nqb8HHlly+X2YVZ0EixQ8TE7OwSsH8evpCwmVunQIgNYweZVlprXy71tqMff/j0OZKFt3AvXX8JENRNMtfahk="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/videojs-resolution-switcher-0.4.0.tgz_1457899997869_0.002847700845450163"}},"0.4.1":{"name":"videojs-resolution-switcher","version":"0.4.1","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-clean":"^1.0","grunt-contrib-concat":"^1.0","grunt-contrib-jshint":"^1.0","grunt-contrib-qunit":"^1.1","grunt-contrib-uglify":"^1.0","grunt-contrib-watch":"^1.0","video.js":"^5.8","qunitjs":"^1.22","videojs-youtube":"^2.0.8"},"peerDependencies":{"video.js":"^5.8"},"gitHead":"c3f4769ce64e1782b03820d4baa8c3492c70c1af","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.4.1","_shasum":"ceec49e2a4e670fa9151c227e0077c129d0afbd6","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"ceec49e2a4e670fa9151c227e0077c129d0afbd6","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.4.1.tgz","integrity":"sha512-gAov2CLa+qk8yDTjsPYUb8Uzcc0a6c/RbwbmC4iap3B+KVQyO28bt+rDAdvjrlDfm+xm7zGDcFi7fHv2Z1EHfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwJrwsEQAEQZr9GhDKdLJYFisCi09aImRrz/+ePc72FAiEA4bK/kctjTIa6NGWX1V270FZ1p51wysT9hbADC0YWvLE="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/videojs-resolution-switcher-0.4.1.tgz_1457900581639_0.6697198199108243"}},"0.4.2":{"name":"videojs-resolution-switcher","version":"0.4.2","main":"./lib/videojs-resolution-switcher.js","author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"contributors":[{"name":"Pierre Kraft"}],"description":"Resolution switcher for video.js 5","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"license":"Apache-2.0","keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-clean":"^1.0","grunt-contrib-concat":"^1.0","grunt-contrib-jshint":"^1.0","grunt-contrib-qunit":"^1.1","grunt-contrib-uglify":"^1.0","grunt-contrib-watch":"^1.0","video.js":"^5.8","qunitjs":"^1.22","videojs-youtube":"^2.0.8"},"peerDependencies":{"video.js":"^5.8"},"gitHead":"56760f6314d6b7ac9bfa24c16dce33e736cd9a97","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","_id":"videojs-resolution-switcher@0.4.2","_shasum":"53ef38c58e95b90a61a7452de8177ee838a26405","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"cosma","email":"kasper.moskwiak@gmail.com"},"dist":{"shasum":"53ef38c58e95b90a61a7452de8177ee838a26405","tarball":"https://registry.npmjs.org/videojs-resolution-switcher/-/videojs-resolution-switcher-0.4.2.tgz","integrity":"sha512-h5N98W929SkbFCG7n0g59mgQQfCw5gqDspD3L68zYqG/R7yf0SSdJn1qrfPn/NricA/I+6W+AvZlD+g60sAiZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZcLDu9GL4Q5rPf32ufyYFn46uD069qAuVyQhT9rQOzAiBqzRLnzgg/2qW7FXD3rjNWmtGR1pkO8TmjMhC1S7NIWA=="}]},"maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/videojs-resolution-switcher-0.4.2.tgz_1459876920307_0.39970111404545605"}}},"readme":"# Video.js Resolution Switcher [![Build Status](https://travis-ci.org/kmoskwiak/videojs-resolution-switcher.svg?branch=master)](https://travis-ci.org/kmoskwiak/videojs-resolution-switcher) \n\nResolution switcher for [video.js v5](https://github.com/videojs/video.js)\n\n## Example\n\n[Working examples](examples) of the plugin you can check out if you're having trouble. Or check out this [demo](https://kmoskwiak.github.io/videojs-resolution-switcher/).\n\n## Getting Started\n\nInstall plugin with\n\n**npm**\n```\nnpm i videojs-resolution-switcher\n```\n\nor **bower**\n```\nbower install videojs-resolution-switcher\n```\n\n\n### Setup sources dynamically:\n\n```html\n<video id='video' class=\"video-js vjs-default-skin\"></video>\n<script src=\"video.js\"></script>\n<script src=\"videojs-resolution-switcher.js\"></script>\n<script>\n  videojs('video', {\n    controls: true,\n    plugins: {\n        videoJsResolutionSwitcher: {\n          default: 'high',\n          dynamicLabel: true\n        }\n      }\n  }, function(){\n  \n    // Add dynamically sources via updateSrc method\n    player.updateSrc([\n        {\n          src: 'http://media.xiph.org/mango/tears_of_steel_1080p.webm',\n          type: 'video/webm',\n          label: '360'\n        },\n        {\n          src: 'http://mirrorblender.top-ix.org/movies/sintel-1024-surround.mp4',\n          type: 'video/mp4',\n          label: '720'\n        }\n      ])\n\n      player.on('resolutionchange', function(){\n        console.info('Source changed to %s', player.src())\n      })\n      \n  })\n</script>\n```\n\n### Or use `<source>` tags:\n\n```html\n\n<video id=\"video\" class=\"video-js vjs-default-skin\" width=\"1000\" controls data-setup='{}'>\n   <source src=\"http://mirrorblender.top-ix.org/movies/sintel-1024-surround.mp4\" type='video/mp4' label='SD' />\n   <source src=\"http://media.xiph.org/mango/tears_of_steel_1080p.webm\" type='video/webm' label='HD'/>\n</video>\n<script>\n  videojs('video').videoJsResolutionSwitcher()\n</script>\n\n```\n\n\n### YouTube tech\n\nYouTube tech form https://github.com/eXon/videojs-youtube\n\n```html\n<video id='video' class=\"video-js vjs-default-skin\"></video>\n<script src=\"../lib/videojs-resolution-switcher.js\"></script>\n<script>\n\tvideojs('video', {\n\t\tcontrols: true,\n\t\ttechOrder:  [\"youtube\"],\n\t\tsources: [{ \"type\": \"video/youtube\", \"src\": \"https://www.youtube.com/watch?v=iD_MyDbP_ZE\"}],\n\t\tplugins: {\n\t\t\tvideoJsResolutionSwitcher: {\n\t\t\t\tdefault: 'low',\n\t\t\t\tdynamicLabel: true\n\t\t\t}\n\t\t}\n\t}, function(){\n\t\tvar player = this;\n\t\tplayer.on('resolutionchange', function(){\n\t\t\tconsole.info('Source changed')\n\t\t})\n\t});\n\n</script>\n\n```\n\n### Flash tech\n\nWhen using flash tech `preload=\"auto\"` is required.\n\n## Source options\n\nSources can passed to player using `updateSrc` method or `<source>` tag as shown above. Avalible options for each source are:\n* label - `String` (required) is shown in menu (ex. 'SD' or '360p')\n* res - `Number` is resolution of video used for sorting (ex. 360 or 1080)\n\n## Plugin options\n\nYou can pass options to plugin like this:\n\n```javascript\n\nvideojs('video', {\n      controls: true,\n      muted: true,\n      width: 1000,\n      plugins: {\n        videoJsResolutionSwitcher: {\n          default: 'low'\n        }\n      }\n    }, function(){\n      // this is player\n    })\n```\n### Avalible options:\n* default - `{Number}|'low'|'high'` - default resolution. If any `Number` is passed plugin will try to choose source based on `res` parameter. If `low` or `high` is passed, plugin will choose respectively worse or best resolution (if `res` parameter is specified). If `res` parameter is not specified plugin assumes that sources array is sorted from best to worse.\n* dynamicLabel - `{Boolean}` - if `true` current label will be displayed in control bar. By default gear icon is displayed.\n* customSourcePicker - `{Function}` - custom function for selecting source.\n\n\n## Methods\n\n\n### updateSrc([source])\nReturns video.js player object if used as setter. If `source` is not passed it acts like [player.src()](http://docs.videojs.com/docs/api/player.html#Methodssrc)\n```javascript\n\n// Update video sources\nplayer.updateSrc([\n  { type: \"video/mp4\", src: \"http://www.example.com/path/to/video.mp4\", label: 'SD' },\n  { type: \"video/mp4\", src: \"http://www.example.com/path/to/video.mp4\", label: 'HD' },\n  { type: \"video/mp4\", src: \"http://www.example.com/path/to/video.mp4\", label: '4k' }\n])\n\n```\n#### PARAMETERS:\n| name | type | required | description |\n|:----:|:----:|:--------:|:-----------:|\n| source| array| no | array of sources |\n\n### currentResolution([label], [customSourcePicker])\nIf used as getter returns current resolution object:\n```javascript\n  {\n    label: 'SD', // current label\n    sources: [\n      { type: \"video/webm\", src: \"http://www.example.com/path/to/video.webm\", label: 'SD' },\n      { type: \"video/mp4\", src: \"http://www.example.com/path/to/video.mp4\", label: 'SD' }\n    ] // array of sources with current label\n  }\n```\n\nIf used as setter returns video.js player object.\n\n\n```javascript\n\n// Get current resolution\nplayer.currentResolution(); // returns object {label '', sources: []}\n\n// Set resolution\nplayer.currentResolution('SD'); // returns videojs player object\n```\n#### PARAMETERS:\n| name | type | required | description |\n|:----:|:----:|:--------:|:-----------:|\n| label| string| no | label name |\n| customSourcePicker | function | no | cutom function to choose source |\n\n#### customSourcePicker\nIf there is more than one source with the same label, player will choose source automatically. This behavior can be changed if `customSourcePicker` is passed.\n\n`customSourcePicker` must return `player` object.\n```javascript\nplayer.currentResolution('SD', function(_player, _sources, _label){\n  return _player.src(_sources[0]); \\\\ Always select first source in array\n});\n```\n`customSourcePicker` accepst 3 arguments.\n\n| name | type | required | description |\n|:----:|:----:|:--------:|:-----------:|\n| player| Object | yes | videojs player object |\n| sources | Array | no | array of sources |\n| label | String | no | name of label |\n\n`customSourcePicker` may be passed in options when player is initialized:\n```javascript\n\nvar myCustomSrcPicker = function(_p, _s, _l){\n  // select any source you want\n  return _p.src(selectedSource);\n}\n\nvideojs('video', {\n      controls: true,\n      muted: true,\n      width: 1000,\n      plugins: {\n        videoJsResolutionSwitcher: {\n          default: 'low',\n          customSourcePicker: myCustomSrcPicker\n        }\n      }\n    }, function(){\n      // this is player\n    })\n```\n\n\n### getGroupedSrc()\nReturns sources grouped by label, resolution and type.\n\n\n## Events\n\n### resolutionchange `EVENT`\n\n> Fired when resolution is changed\n","maintainers":[{"name":"cosma","email":"kasper.moskwiak@gmail.com"}],"time":{"modified":"2022-06-28T17:06:10.489Z","created":"2015-09-29T18:59:48.312Z","0.1.0":"2015-09-29T18:59:48.312Z","0.1.1":"2015-09-29T19:06:07.271Z","0.1.2":"2015-10-17T23:04:26.258Z","0.1.3":"2015-10-28T19:51:17.758Z","0.1.4":"2015-10-29T20:21:53.176Z","0.1.5":"2015-10-31T11:29:33.071Z","0.2.0":"2015-10-31T20:09:10.787Z","0.2.1":"2015-11-08T22:06:38.290Z","0.2.2":"2015-11-09T08:30:56.077Z","0.2.3":"2015-12-19T17:51:05.379Z","0.3.0":"2015-12-19T22:48:11.196Z","0.3.1":"2015-12-28T19:53:38.099Z","0.3.2":"2016-02-08T10:43:08.343Z","0.3.3":"2016-03-13T18:20:24.896Z","0.3.4":"2016-03-13T19:06:39.647Z","0.4.0":"2016-03-13T20:13:20.038Z","0.4.1":"2016-03-13T20:23:03.913Z","0.4.2":"2016-04-05T17:22:02.609Z"},"keywords":["videojs","html5","flash","video","player","resolution","source","videojs-plugin"],"author":{"name":"Kasper Moskwiak","email":"kasper.moskwiak@gmail.com","url":"http://kspr.pl"},"license":"Apache-2.0","readmeFilename":"README.md","homepage":"https://github.com/kmoskwiak/videojs-resolution-switcher#readme","repository":{"type":"git","url":"git+ssh://git@github.com/kmoskwiak/videojs-resolution-switcher.git"},"bugs":{"url":"https://github.com/kmoskwiak/videojs-resolution-switcher/issues"},"contributors":[{"name":"Pierre Kraft"}],"users":{"django_wong":true,"lawdoc71":true}}