{"_id":"@aioz/plyr","_rev":"6-2afa78cd2c50c74736376c679a056ab6","name":"@aioz/plyr","dist-tags":{"latest":"3.5.11"},"versions":{"3.5.6":{"name":"@aioz/plyr","version":"3.5.6","description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","author":{"name":"aioz"},"main":"dist/plyr.js","module":"dist/plyr.min.mjs","jsnext:main":"dist/plyr.min.mjs","browser":"dist/plyr.min.js","sass":"src/sass/plyr.scss","style":"dist/plyr.css","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"license":"MIT","repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"browserslist":"> 1%","scripts":{"start":"gulp","build":"gulp build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","ansi-colors":"^4.0.1","babel-eslint":"^10.0.2","browser-sync":"^2.26.7","core-js":"^3.2.1","del":"^4.1.1","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^5.0.0","eslint-plugin-import":"^2.17.3","eslint-plugin-simple-import-sort":"^4.0.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-better-rollup":"^4.0.1","gulp-clean-css":"^4.2.0","gulp-filter":"^6.0.0","gulp-header":"^2.0.7","gulp-imagemin":"^6.0.0","gulp-plumber":"^1.2.1","gulp-postcss":"^8.0.0","gulp-rename":"^1.4.0","gulp-sass":"^4.0.2","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svgstore":"^7.0.1","gulp-terser":"^1.2.0","postcss-custom-properties":"^9.0.1","prettier-eslint":"^9.0.0","regenerator-runtime":"^0.13.3","remark-cli":"^6.0.1","remark-validate-links":"^8.0.3","rollup":"^1.15.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.3","through2":"^3.0.1"},"dependencies":{"custom-event-polyfill":"^1.0.7","loadjs":"^3.6.1","rangetouch":"^2.0.0","resize-observer-polyfill":"^1.5.1","url-polyfill":"^1.1.5"},"peerDependencies":{"shaka-player":"^2.5.5","mux.js":"^5.2.0"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"homepage":"https://github.com/caojs/plyer#readme","gitHead":"ce6ba6443133b2ba628e718f073c33f435c423cc","_id":"@aioz/plyr@3.5.6","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-uqaz9eU62I0B5kb9Oq2BB32sozDWMgQ/yK4XGHklQqIBXHmnY8mLl//D3VIYcuyww/cuH6GdQflMDkdbiOsBDA==","shasum":"5a0b732cc1ff3f5337fad3a3c6f90270c3457aa6","tarball":"https://registry.npmjs.org/@aioz/plyr/-/plyr-3.5.6.tgz","fileCount":127,"unpackedSize":7310189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg0gxCRA9TVsSAnZWagAA9toP/1tvcUG7huUOtRweMTzd\nJlAsSBLEcHp26wZjx2Axj4weVlXrgpJFLq/yFplRMY0KoCXJEZQRan2lwMPd\nlNr1Y/E2xiwEnggVUBxw4zfunIf+6MOcTVBp4bIKyE5eE+ubga6zYPzKiERg\nmqwRcX3p27KTOefAjrF57rOFvTDvR222hfQcqOc4gKmpVPsMIWCbAr6f4sUT\nG50ZHgm4cwwMsRYAhuizTbqjcRZtGrWkUJvAV8K/fWC9UXPn7VLl/YYttT2N\nG8Acu2lOERI/Lm9IMwvctHQgHfiomYGGP8MmW1QWFhn8iI+Fy4kQlOsejsBB\n+uWdmEj0xlR2wyOUCPmtkaud9rs1PlPWWFo6c6G9RFHlCepNO5I0UvpATNo8\nLX6HyNZuQvbVSv5WEP9L1FryoGcmLTwTJCLljLlBsV0fi8/wrwhtpQCgVtaS\nFYr/KBHMPfpvBhX4GTensjJPGovFuLuD8oDWx5CXRJpOn2lyscoNqaemKBpX\nO4dr5ZYShwd16LZaqqibBX1qEPfMF7GTcsREk9kKqa5S033/ekE+x7ZENxD9\nz3VOZjQz+KVqXx9ffmrdmnpAN4pccBC6LiJulDf0Mg+zVXStvIT6ccVE3acM\nSZfHTL5zSJiRtqT+3eGxTOsqwueptcamI8jEPbapc+1n7nNWyj9CiZGw8/hj\n966q\r\n=Fp4q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDb6dYm20QMaHC3l+gRZRTYR7TsyxE6XtOjSKllPHliqAiBWcpdQG/A/PeE35WWG5stmcPRZBlmVdCzMDP/rBKrBsA=="}]},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"_npmUser":{"name":"caojs","email":"caoo.dai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plyr_3.5.6_1568884784599_0.23347421785260258"},"_hasShrinkwrap":false},"3.5.7":{"name":"@aioz/plyr","version":"3.5.7","description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","author":{"name":"aioz"},"main":"dist/plyr.js","module":"dist/plyr.min.mjs","jsnext:main":"dist/plyr.min.mjs","browser":"dist/plyr.min.js","sass":"src/sass/plyr.scss","style":"dist/plyr.css","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"license":"MIT","repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"browserslist":"> 1%","scripts":{"start":"gulp","build":"gulp build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","ansi-colors":"^4.0.1","babel-eslint":"^10.0.2","browser-sync":"^2.26.7","core-js":"^3.2.1","del":"^4.1.1","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^5.0.0","eslint-plugin-import":"^2.17.3","eslint-plugin-simple-import-sort":"^4.0.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-better-rollup":"^4.0.1","gulp-clean-css":"^4.2.0","gulp-filter":"^6.0.0","gulp-header":"^2.0.7","gulp-imagemin":"^6.0.0","gulp-plumber":"^1.2.1","gulp-postcss":"^8.0.0","gulp-rename":"^1.4.0","gulp-sass":"^4.0.2","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svgstore":"^7.0.1","gulp-terser":"^1.2.0","postcss-custom-properties":"^9.0.1","prettier-eslint":"^9.0.0","regenerator-runtime":"^0.13.3","remark-cli":"^6.0.1","remark-validate-links":"^8.0.3","rollup":"^1.15.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.3","through2":"^3.0.1"},"dependencies":{"custom-event-polyfill":"^1.0.7","loadjs":"^3.6.1","rangetouch":"^2.0.0","resize-observer-polyfill":"^1.5.1","url-polyfill":"^1.1.5"},"peerDependencies":{"shaka-player":"^2.5.5","mux.js":"^5.2.0"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"homepage":"https://github.com/caojs/plyer#readme","gitHead":"ac260cbab573171a4399772718d05cb26c90e5a3","_id":"@aioz/plyr@3.5.7","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-/HwzISKGNjZA2WRSd8YwLob6DND2JAbHVFyZl680MO0B1Hte/7BzCOWH8XQn5hfsnzdnvjOwv9Wmyp8Sy0AkFA==","shasum":"0cd24b23b8a1f5fde771e984a6609a5b9ae003c9","tarball":"https://registry.npmjs.org/@aioz/plyr/-/plyr-3.5.7.tgz","fileCount":126,"unpackedSize":7311538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg2KgCRA9TVsSAnZWagAAGVoP/12mo49ZiM0duXwNZJeP\nQPhCkk8UmJzCr64oAOFuVlSbi0kXuWDQbUYnCXZgRtwnhj5mATY883Bs3kJS\n7igjfS8xYtK8zwT1ej7jkE9gUHzPC43xiVa9BPeg+VWMI66FJ17p4qUpbhBx\nKiX+/9vLyN4STTHIegNTPt5Quj1MQeFhefyVcYezG+XOIcRtiJsmfkzfjiBc\nemtzzOB/LaQz8eAOSlFAIbaN3vuZvn512j0IOv/1AC0Mj0zypOdrZJfnv6Bj\nfPQgO6lLMrE4qcj0J/FWcQToFNmtq+FIeNz4SAdzC+dobzIEqUIiluQ9Q/FZ\nBIXB9S99glly0YFlgoWXmt02HefY2agLxYv8SQiHIXXNCHlZHXVemx2PMZu8\nrxNVux0M7AZx7ipWkiguODRiFR6X0ZSZG+brnxG5MiNsud24OdBMSbtszMRY\n/Sr70+67qdT9w+pA5vX9RwNmXreQi1xqBC6W92CaqjF0GK3wRrwiQbdZH//5\nn8reo59cnmeOnvOW/7CUpTiAHZmB2soyoWqb5z9Mm9OPKaHRj2trTjltlqAg\nXpzrEjzAwX8kOSUvp0Pjrc8zeyGrayFLU6s3M12+/EUbfKIBtYxk22aoQS5Q\nYI8maQn0NFwQKSnJd03XNWSH8zf/HQeQoqYvRofAvNrEB/Hgh8Di3EoE300l\nMi8j\r\n=urgB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMT7p3BL6H+g9/N6jCUzLptcp/4jPIV7q8byrnXh6PtAIgHQmF734ywxIzJwcCMZvsfJr/GsoOxBqQKcuuhfB3ea0="}]},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"_npmUser":{"name":"caojs","email":"caoo.dai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plyr_3.5.7_1568891551149_0.9761033969421817"},"_hasShrinkwrap":false},"3.5.8":{"name":"@aioz/plyr","version":"3.5.8","description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","author":{"name":"aioz"},"main":"dist/plyr.js","module":"dist/plyr.min.mjs","jsnext:main":"dist/plyr.min.mjs","browser":"dist/plyr.min.js","sass":"src/sass/plyr.scss","style":"dist/plyr.css","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"license":"MIT","repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"browserslist":"> 1%","scripts":{"start":"gulp","build":"gulp build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","ansi-colors":"^4.0.1","babel-eslint":"^10.0.2","browser-sync":"^2.26.7","core-js":"^3.2.1","del":"^4.1.1","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^5.0.0","eslint-plugin-import":"^2.17.3","eslint-plugin-simple-import-sort":"^4.0.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-better-rollup":"^4.0.1","gulp-clean-css":"^4.2.0","gulp-filter":"^6.0.0","gulp-header":"^2.0.7","gulp-imagemin":"^6.0.0","gulp-plumber":"^1.2.1","gulp-postcss":"^8.0.0","gulp-rename":"^1.4.0","gulp-sass":"^4.0.2","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svgstore":"^7.0.1","gulp-terser":"^1.2.0","postcss-custom-properties":"^9.0.1","prettier-eslint":"^9.0.0","regenerator-runtime":"^0.13.3","remark-cli":"^6.0.1","remark-validate-links":"^8.0.3","rollup":"^1.15.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.3","through2":"^3.0.1"},"dependencies":{"custom-event-polyfill":"^1.0.7","loadjs":"^3.6.1","rangetouch":"^2.0.0","resize-observer-polyfill":"^1.5.1","url-polyfill":"^1.1.5"},"peerDependencies":{"shaka-player":"^2.5.5","mux.js":"^5.2.0"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"homepage":"https://github.com/caojs/plyer#readme","gitHead":"7f00a61a786343f33d7d99c4e313ec486a7d7d3e","_id":"@aioz/plyr@3.5.8","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-nPkQeg15/SDOkZo046xSDQsbEDUDFpiWVYHoh/oCMyMCj+7pYa3hQR3SfZmNoijoFM/ekkYn/BQHnBweP2sOgQ==","shasum":"44738c1815aebe53f453aaf6d613bc63bfc83ba9","tarball":"https://registry.npmjs.org/@aioz/plyr/-/plyr-3.5.8.tgz","fileCount":126,"unpackedSize":7314913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhDF7CRA9TVsSAnZWagAAT30P/3nmEx6m7/byG4SulmfH\nReaXrSixt7L6edSMs5cGsIWPv3sgyWV89jQ6paTP+X9/eTXPRUPdbzqT7L89\nNM2QtNiHT9okO76sHW2aMJUwuKl3KUAg4ueQqBtDr2yI34MtWl5+1XVrdf0q\ndfd8gpkIRAdQroSejo1sFwQVagUW8W9AoWDpSycX+oIlB1Nt4OYvO+lUO9Q3\nNcYn2zINCexel64cQjQQGKRNWon5FYx4e/6Iuxg+xo/pBz2x5lJFNOBgu48f\nLskQu1D5EI0r5A6ew9wwp6vzplOsVaY+zfdeNEl3xcnkDbXQIMurLK8N1A22\n6WMpk+tHFJWboLqZePZXQ/aGaALL+mHMfcRgE1FBMt4e6tctDTnc6uUb5JTn\nptrlKBP2ubT6mwaKGLVOY4KbfznUbsgHROVUqPxtV+weshGDMM7mDxExns/j\n67XmYgtMJeIFkCJEB+fFmaxr9As+cYBRiNbywsaolGySe8jqFMHfo+c4twfm\nEMYMQvqZSKqeSSgHiio6H2nosvnSVolCdujbaQTbw4J3JstbuXO4eeROVK/p\nhkre1xGxVnqPGmUQnV5HtD9+N/Y+5ZWqQR/f70w7vOZz60qnIvjJ1TGbagh/\nTcqiU+y78250wOIHP4Tx4rqN6Fx12JpQZ6qWAmuGdt/NiESRk20SxUHh2VVW\nYY/6\r\n=uvqa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBOukkMwoqAiGJRDsqXz49GTVRZDCo+5DUpjmFzq4u5zAiBlR7eSy1MBQaIk7/C25cSuWQ+/nQBWgcPSSCL7VP6NTg=="}]},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"_npmUser":{"name":"caojs","email":"caoo.dai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plyr_3.5.8_1568944506526_0.22119095862841864"},"_hasShrinkwrap":false},"3.5.9":{"name":"@aioz/plyr","version":"3.5.9","description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","author":{"name":"aioz"},"main":"dist/plyr.js","module":"dist/plyr.min.mjs","jsnext:main":"dist/plyr.min.mjs","browser":"dist/plyr.min.js","sass":"src/sass/plyr.scss","style":"dist/plyr.css","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"license":"MIT","repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"browserslist":"> 1%","scripts":{"start":"gulp","build":"gulp build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","ansi-colors":"^4.0.1","babel-eslint":"^10.0.2","browser-sync":"^2.26.7","core-js":"^3.2.1","del":"^4.1.1","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^5.0.0","eslint-plugin-import":"^2.17.3","eslint-plugin-simple-import-sort":"^4.0.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-better-rollup":"^4.0.1","gulp-clean-css":"^4.2.0","gulp-filter":"^6.0.0","gulp-header":"^2.0.7","gulp-imagemin":"^6.0.0","gulp-plumber":"^1.2.1","gulp-postcss":"^8.0.0","gulp-rename":"^1.4.0","gulp-sass":"^4.0.2","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svgstore":"^7.0.1","gulp-terser":"^1.2.0","postcss-custom-properties":"^9.0.1","prettier-eslint":"^9.0.0","regenerator-runtime":"^0.13.3","remark-cli":"^6.0.1","remark-validate-links":"^8.0.3","rollup":"^1.15.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.3","through2":"^3.0.1"},"dependencies":{"custom-event-polyfill":"^1.0.7","loadjs":"^3.6.1","rangetouch":"^2.0.0","resize-observer-polyfill":"^1.5.1","url-polyfill":"^1.1.5"},"peerDependencies":{"shaka-player":"^2.5.5","mux.js":"^5.2.0"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"homepage":"https://github.com/caojs/plyer#readme","gitHead":"f14aa5af74f43e98b43e5464f585e574b4928751","_id":"@aioz/plyr@3.5.9","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-6hO39K8pPxHHem6zcwqfZ65nzbhgw+125Rsh29hgCEWQrlbo1mOjJYiwvXVya/wtGD7ER0zkEWXSiQz3/FW8pA==","shasum":"4b5675fc7fc227c0dd95bdd1fd07a7076db98e54","tarball":"https://registry.npmjs.org/@aioz/plyr/-/plyr-3.5.9.tgz","fileCount":126,"unpackedSize":7316674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhdlbCRA9TVsSAnZWagAAYY8P/1RqAfU/OF0RLgifAfVs\ncRZB1UYQvxCVHB9z+9Bd7Yq3a7ZO5pmZ1xN+PdoUwJAxQU/EkF3U/WXEyj1g\n8McJeohraOFrRYwgZ3G4eKNz622i7ZK9hSo2nNOCDuPOa9RlR5+R0ow0hP/p\nyYGCecXSQVzqjzJl9VT8YyajfJa0FZTJ3/wIiYarI+/v05yANn/Kgpad/MMy\n8eIV8YP0I7F1HIosDTNzyc+EFr72fjR+dJVhY3Jd5ijK0DaqvOdLV4yY+am+\n4GhBW8WJwuRtPaJQ594ncchmNRy0s/Wzcom89jMeVMqc+mXbfOeDByC0TjL3\naCNmtlbKBiz+NHJeDEsGAUNEZCaHZ7NZWkbKXE/2NcHBRY4acBm8iH8Avdf/\nj58/OtYRinP4MsmqcUbfZV3virGMrmJfcx47IJaucioY3m8GY5uzRskSXkfV\ny7oxDww/rySER7eMumuwjLtYIk3u4tB06DFpKvGNQuy4Wj/58EKBdWpZJGMp\n8ZFtrbVzvSOZgDk+Lb0TL9FPmxs4g8VuLhtlkrc6MQYkjDFTX0zHCnYiEcEa\nJObJuL2356uIIKtgh4XDHAkNSmBAFW6JSUW6wBjYLPJ3QFmCZb7HJplbk6O8\n8WS/Mj0iSFQUlfWf4xMnIZKyL4JdeYfsubyICFZU6+EY1vBDfijdnkWAIlio\nWKOk\r\n=1suH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw5VORYU0lQEFM/qKqlMLNVDqq9Ji6wE5/BdOSdrdbiwIgUHqxiO7xov1ovjObV4PKaXSd1qKo9wlrutdL5KiKyco="}]},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"_npmUser":{"name":"caojs","email":"caoo.dai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plyr_3.5.9_1569053018280_0.4338530878909055"},"_hasShrinkwrap":false},"3.5.10":{"name":"@aioz/plyr","version":"3.5.10","description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","author":{"name":"aioz"},"main":"dist/plyr.js","module":"dist/plyr.min.mjs","jsnext:main":"dist/plyr.min.mjs","browser":"dist/plyr.min.js","sass":"src/sass/plyr.scss","style":"dist/plyr.css","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"license":"MIT","repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"browserslist":"> 1%","scripts":{"start":"gulp","build":"gulp build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","ansi-colors":"^4.0.1","babel-eslint":"^10.0.2","browser-sync":"^2.26.7","core-js":"^3.2.1","del":"^4.1.1","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^5.0.0","eslint-plugin-import":"^2.17.3","eslint-plugin-simple-import-sort":"^4.0.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-better-rollup":"^4.0.1","gulp-clean-css":"^4.2.0","gulp-filter":"^6.0.0","gulp-header":"^2.0.7","gulp-imagemin":"^6.0.0","gulp-plumber":"^1.2.1","gulp-postcss":"^8.0.0","gulp-rename":"^1.4.0","gulp-sass":"^4.0.2","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svgstore":"^7.0.1","gulp-terser":"^1.2.0","postcss-custom-properties":"^9.0.1","prettier-eslint":"^9.0.0","regenerator-runtime":"^0.13.3","remark-cli":"^6.0.1","remark-validate-links":"^8.0.3","rollup":"^1.15.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.3","through2":"^3.0.1"},"dependencies":{"custom-event-polyfill":"^1.0.7","loadjs":"^3.6.1","rangetouch":"^2.0.0","resize-observer-polyfill":"^1.5.1","url-polyfill":"^1.1.5"},"peerDependencies":{"shaka-player":"^2.5.5","mux.js":"^5.2.0"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"homepage":"https://github.com/caojs/plyer#readme","gitHead":"1af7d7dfa82e5da4a299eee9ae4663cfb7406567","_id":"@aioz/plyr@3.5.10","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-42l1gt4c3NBLqOfquoBXGOyMVCu4G7itSfaIpa0HP4Jz3t5mHeqzuKfS9hqRXD0IBklmEpdNI8RhIguZI7Syfg==","shasum":"36257741be1e7a73a69e393dade6b4064741436c","tarball":"https://registry.npmjs.org/@aioz/plyr/-/plyr-3.5.10.tgz","fileCount":126,"unpackedSize":7317665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnpmTCRA9TVsSAnZWagAAeYIP/igWtW+BxwhN0BqKM0+y\n7rwWYB9G+GZ5jabHOWgHB6hf+xWdcUgfW4U9p/OPAKuVYjKvuOhzbDgU/YtR\nNU8cU9n3T66nW1Qf/ZQdCUv6UIKiExoznl6lqLBhvJgCD/qbzP2Hzeq+G3jt\n+6pT6hU3IEC5Z+E/FIRafc0qQ8Nhq+XwC/pX6NDCtqFcVQgrbnVByPnDO9p9\ndgp4mVMwut0IPOltAGspFDmkDKkwJc6SlfmEDBxz30Ledg7B3Gz4vk+Q9+Qt\n5/KSP6qUml/ZWbeMdk/XCuPgaoFTOgzqOtq+naiKE+OpuzGusEYKGz0/O/Ou\nGFrdFoqNi35zHbAT9uV4YYhCsX2F+g3LGqPlF07ZyZy41SWqMDLysRu7T+l+\nkbKLx9EvMgNnYwdzguFBqbAXzAGBnr+KlrDL/LSwwOC9UGfdzt7qUBIgi3Bn\nIvRqCiMUV8HhIKAZ3xY5me2+MwdPGuBbwb+Zm12CVuzhDDgNNlvyP0OO6B4F\n0FWQU1v1m5KKhYDHouKkPfmunc++2c8LdYCSu6sDJ3TsVct8FurNCOE70nEc\nuntarVIUq8Jf+2ynaxpDgIbftHUkbzxvskepr5DPB50KrDxF+xJglLHVfiPU\nJqDnOKw1aeZNpnkJJKliUfUG5XuwnkwGNPz8nuTgLZhpa0mAUa0pQkryPC0o\nkE5S\r\n=7imH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICio6cOIIuaOEOiJB0C9HcS3VXCrY0quaZ6gace0B67VAiBk44flQ5JrpiksnEnyfjOZx0LajACCAZiawp1JhqlveA=="}]},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"_npmUser":{"name":"caojs","email":"caoo.dai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plyr_3.5.10_1570675090332_0.0853575485221878"},"_hasShrinkwrap":false},"3.5.11":{"name":"@aioz/plyr","version":"3.5.11","description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","author":{"name":"aioz"},"main":"dist/plyr.js","module":"dist/plyr.min.mjs","jsnext:main":"dist/plyr.min.mjs","browser":"dist/plyr.min.js","sass":"src/sass/plyr.scss","style":"dist/plyr.css","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"license":"MIT","repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"browserslist":"> 1%","scripts":{"start":"gulp","build":"gulp build"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","ansi-colors":"^4.0.1","babel-eslint":"^10.0.2","browser-sync":"^2.26.7","core-js":"^3.2.1","del":"^4.1.1","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^5.0.0","eslint-plugin-import":"^2.17.3","eslint-plugin-simple-import-sort":"^4.0.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-autoprefixer":"^6.1.0","gulp-better-rollup":"^4.0.1","gulp-clean-css":"^4.2.0","gulp-filter":"^6.0.0","gulp-header":"^2.0.7","gulp-imagemin":"^6.0.0","gulp-plumber":"^1.2.1","gulp-postcss":"^8.0.0","gulp-rename":"^1.4.0","gulp-sass":"^4.0.2","gulp-size":"^3.0.0","gulp-sourcemaps":"^2.6.5","gulp-svgstore":"^7.0.1","gulp-terser":"^1.2.0","postcss-custom-properties":"^9.0.1","prettier-eslint":"^9.0.0","regenerator-runtime":"^0.13.3","remark-cli":"^6.0.1","remark-validate-links":"^8.0.3","rollup":"^1.15.6","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.3","through2":"^3.0.1"},"dependencies":{"custom-event-polyfill":"^1.0.7","loadjs":"^3.6.1","rangetouch":"^2.0.0","resize-observer-polyfill":"^1.5.1","url-polyfill":"^1.1.5"},"peerDependencies":{"shaka-player":"^2.5.5","mux.js":"^5.2.0"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"homepage":"https://github.com/caojs/plyer#readme","gitHead":"0c072082f102ef156f3e1f5b85cc705f0f384c25","_id":"@aioz/plyr@3.5.11","_nodeVersion":"10.16.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-xFesuV8TcWNfEUCdUYcjl3xKGeujPPRk34vCahZjxZ0ZmD+xOFTrNp6O4zXUp5bZyZz/ZbXfFCS+cYw28j+YGw==","shasum":"1f5c7db1b3ecd43633c84e7793392d4be72ba2ff","tarball":"https://registry.npmjs.org/@aioz/plyr/-/plyr-3.5.11.tgz","fileCount":126,"unpackedSize":7317642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdn+egCRA9TVsSAnZWagAABgYP/R3KInn6vYbQ9H06DKJQ\nYzsoqvdZqp+jxfDQBegqy7C1TcxnCJUTgDX7KIXGlDTUDzZ25qXs03oLrImR\nzSo2Iw1ziSElj0pjEEW2YW5jUT1QQlGKisIWn3Z+tldL+JMZbY5WvDNHE3PX\nevYJstyRbF4JcpAHWsWhUQlhnseR569yCnwo3Rltl7KEgw0qWyGaA9l6R4n1\nAtH6AX1sYULkfalnva0U6UxZOoMRf0TEkh0F2pspeUmVCArJonZsRqg5Vq+g\neKMJ/dIiGorCSOa7zBTVChBGtLPiylLjRbGzVQDqDZbov3M2RRpsx3jXvU7y\n+pYjr93jHgk2z2jXhzTNYoijMsSJsj8xKiBDWi+vO41xQ26ZeKmJsIOnAcEY\nd4Kv1/TcKhC3JuEGWPwyvPtAPWntON6wbvtsdeCCAMRHW5KW9bxDgGIQ7z8r\nsCRxiWfL00CBi2PgDDAmgXohWO49GvETX8TQOCBbfTR79c91gERvGJQXIXIf\n1zoJmnDeROCQids2oDY/i0b4KOqbG052cT9yKvomUJZUXvfpjc654X0gmvQ3\n+BgKVlmLVzKM2UElZUBL+2uqnEnbP8QRdtd/S8vOLG8JzQHYno2nMOzwfg64\nZSnOFqSSNhM/bWAH2YWHKoVFEzInpAmbh+A6vdnfRKDdax/CB4I/jxuyCkPu\nhvjQ\r\n=Dpi9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8SpI3b+Aa5aFVPpDTHADsqdyioQ78OxNxhYLPMcn0YQIhANYwA5/Z7HnMDws9PR05yWc+kk8/hs28MJOTtP5kRhHx"}]},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"_npmUser":{"name":"caojs","email":"caoo.dai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plyr_3.5.11_1570760607139_0.4051565851051351"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-19T09:19:44.386Z","3.5.6":"2019-09-19T09:19:44.924Z","modified":"2022-04-04T12:20:33.755Z","3.5.7":"2019-09-19T11:12:31.348Z","3.5.8":"2019-09-20T01:55:06.734Z","3.5.9":"2019-09-21T08:03:38.458Z","3.5.10":"2019-10-10T02:38:10.486Z","3.5.11":"2019-10-11T02:23:27.448Z"},"maintainers":[{"name":"caojs","email":"caoo.dai@gmail.com"}],"description":"A simple, accessible and customizable HTML5, YouTube and Vimeo media player","homepage":"https://github.com/caojs/plyer#readme","keywords":["HTML5 Video","HTML5 Audio","Media Player","DASH","Shaka","WordPress","HLS"],"repository":{"type":"git","url":"git://github.com/caojs/plyer.git"},"author":{"name":"aioz"},"bugs":{"url":"https://github.com/caojs/plyer/issues"},"license":"MIT","readme":"Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports [_modern_](#browser-support) browsers.\n\n[Checkout the demo](https://plyr.io) - [Donate](#donate) - [Slack](https://bit.ly/plyr-chat) - [![npm version](https://badge.fury.io/js/plyr.svg)](https://badge.fury.io/js/plyr)\n\n[![Image of Plyr](https://cdn.plyr.io/static/demo/screenshot.png?v=3)](https://plyr.io)\n\n# Features\n\n-   📼 **HTML Video & Audio, YouTube & Vimeo** - support for the major formats\n-   💪 **Accessible** - full support for VTT captions and screen readers\n-   🔧 **[Customisable](#html)** - make the player look how you want with the markup you want\n-   😎 **Clean HTML** - uses the _right_ elements. `<input type=\"range\">` for volume and `<progress>` for progress and well, `<button>`s for buttons. There's no\n    `<span>` or `<a href=\"#\">` button hacks\n-   📱 **Responsive** - works with any screen size\n-   💵 **[Monetization](#ads)** - make money from your videos\n-   📹 **[Streaming](#demos)** - support for hls.js, Shaka and dash.js streaming playback\n-   🎛 **[API](#api)** - toggle playback, volume, seeking, and more through a standardized API\n-   🎤 **[Events](#events)** - no messing around with Vimeo and YouTube APIs, all events are standardized across formats\n-   🔎 **[Fullscreen](#fullscreen)** - supports native fullscreen with fallback to \"full window\" modes\n-   ⌨️ **[Shortcuts](#shortcuts)** - supports keyboard shortcuts\n-   🖥 **Picture-in-Picture** - supports picture-in-picture mode\n-   📱 **Playsinline** - supports the `playsinline` attribute\n-   🏎 **Speed controls** - adjust speed on the fly\n-   📖 **Multiple captions** - support for multiple caption tracks\n-   🌎 **i18n support** - support for internationalization of controls\n-   👌 **[Preview thumbnails](#preview-thumbnails)** - support for displaying preview thumbnails\n-   🤟 **No frameworks** - written in \"vanilla\" ES6 JavaScript, no jQuery required\n-   💁‍♀️ **SASS** - to include in your build processes\n\n### Demos\n\nYou can try Plyr in Codepen using our minimal templates: [HTML5 video](https://codepen.io/pen?template=bKeqpr), [HTML5 audio](https://codepen.io/pen?template=rKLywR), [YouTube](https://codepen.io/pen?template=GGqbbJ), [Vimeo](https://codepen.io/pen?template=bKeXNq). For Streaming we also have example integrations with: [Dash.js](https://codepen.io/pen?template=zaBgBy), [Hls.js](https://codepen.io/pen?template=oyLKQb) and [Shaka Player](https://codepen.io/pen?template=ZRpzZO)\n\n# Quick setup\n\n## HTML\n\nPlyr extends upon the standard [HTML5 media element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement) markup so that's all you need for those types.\n\n### HTML5 Video\n\n```html\n<video poster=\"/path/to/poster.jpg\" id=\"player\" playsinline controls>\n    <source src=\"/path/to/video.mp4\" type=\"video/mp4\" />\n    <source src=\"/path/to/video.webm\" type=\"video/webm\" />\n\n    <!-- Captions are optional -->\n    <track kind=\"captions\" label=\"English captions\" src=\"/path/to/captions.vtt\" srclang=\"en\" default />\n</video>\n```\n\n### HTML5 Audio\n\n```html\n<audio id=\"player\" controls>\n    <source src=\"/path/to/audio.mp3\" type=\"audio/mp3\" />\n    <source src=\"/path/to/audio.ogg\" type=\"audio/ogg\" />\n</audio>\n```\n\nFor YouTube and Vimeo players, Plyr uses progressive enhancement to enhance the default `<iframe>` embeds. Below are some examples. The `plyr__video-embed` classname will make the embed responsive. You can add the `autoplay`, `loop`, `hl` (YouTube only) and `playsinline` (YouTube only) query parameters to the URL and they will be set as config options automatically. For YouTube, the `origin` should be updated to reflect the domain you're hosting the embed on, or you can opt to omit it.\n\n### YouTube\n\nWe recommend [progressive enhancement](https://www.smashingmagazine.com/2009/04/progressive-enhancement-what-it-is-and-how-to-use-it/) with the embedded players. You can elect to use an `<iframe>` as the source element (which Plyr will progressively enhance) or a bog standard `<div>` with two essential data attributes - `data-plyr-provider` and `data-plyr-embed-id`.\n\n```html\n<div class=\"plyr__video-embed\" id=\"player\">\n    <iframe\n        src=\"https://www.youtube.com/embed/bTqVqk7FSmY?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1\"\n        allowfullscreen\n        allowtransparency\n        allow=\"autoplay\"\n    ></iframe>\n</div>\n```\n\n_Note_: The `plyr__video-embed` classname will make the player a responsive 16:9 (most common) iframe embed. When plyr itself kicks in, your custom `ratio` config option will be used.\n\nOr the `<div>` non progressively enhanced method:\n\n```html\n<div id=\"player\" data-plyr-provider=\"youtube\" data-plyr-embed-id=\"bTqVqk7FSmY\"></div>\n```\n\n_Note_: The `data-plyr-embed-id` can either be the video ID or URL for the media.\n\n### Vimeo\n\nMuch the same as YouTube above.\n\n```html\n<div class=\"plyr__video-embed\" id=\"player\">\n    <iframe\n        src=\"https://player.vimeo.com/video/76979871?loop=false&amp;byline=false&amp;portrait=false&amp;title=false&amp;speed=true&amp;transparent=0&amp;gesture=media\"\n        allowfullscreen\n        allowtransparency\n        allow=\"autoplay\"\n    ></iframe>\n</div>\n```\n\nOr the `<div>` non progressively enhanced method:\n\n```html\n<div id=\"player\" data-plyr-provider=\"vimeo\" data-plyr-embed-id=\"76979871\"></div>\n```\n\n## JavaScript\n\nYou can use Plyr as an ES6 module as follows:\n\n```javascript\nimport Plyr from 'plyr';\n\nconst player = new Plyr('#player');\n```\n\nAlertnatively you can include the `plyr.js` script before the closing `</body>` tag and then in your JS create a new instance of Plyr as below.\n\n```html\n<script src=\"path/to/plyr.js\"></script>\n<script>\n    const player = new Plyr('#player');\n</script>\n```\n\nSee [initialising](#initialising) for more information on advanced setups.\n\nYou can use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript. There's 2 versions; one with and one without [polyfills](#polyfills). My recommendation would be to manage polyfills seperately as part of your application but to make life easier you can use the polyfilled build.\n\n```html\n<script src=\"https://cdn.plyr.io/3.5.6/plyr.js\"></script>\n```\n\n...or...\n\n```html\n<script src=\"https://cdn.plyr.io/3.5.6/plyr.polyfilled.js\"></script>\n```\n\n## CSS\n\nInclude the `plyr.css` stylsheet into your `<head>`.\n\n```html\n<link rel=\"stylesheet\" href=\"path/to/plyr.css\" />\n```\n\nIf you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the default CSS, you can use the following:\n\n```html\n<link rel=\"stylesheet\" href=\"https://cdn.plyr.io/3.5.6/plyr.css\" />\n```\n\n## SVG Sprite\n\nThe SVG sprite is loaded automatically from our CDN (provided by [Fastly](https://www.fastly.com/)). To change this, see the [options](#options) below. For\nreference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.5.6/plyr.svg`.\n\n# Ads\n\nPlyr has partnered up with [vi.ai](https://vi.ai/publisher-video-monetization/?aid=plyrio) to offer monetization options for your videos. Getting setup is easy:\n\n-   [Sign up for a vi.ai account](https://vi.ai/publisher-video-monetization/?aid=plyrio)\n-   Grab your publisher ID from the code snippet\n-   Enable ads in the [config options](#options) and enter your publisher ID\n\nAny questions regarding the ads can be sent straight to vi.ai and any issues with rendering raised through GitHub issues.\n\n# Advanced\n\n## SASS\n\nYou can use `bundle.scss` file included in `/src` as part of your build and change variables to suit your design. The SASS require you to\nuse the [autoprefixer](https://www.npmjs.com/package/gulp-autoprefixer) plugin (you should be already!) as all declarations use the W3C definitions.\n\nThe HTML markup uses the BEM methodology with `plyr` as the block, e.g. `.plyr__controls`. You can change the class hooks in the options to match any custom CSS\nyou write. Check out the JavaScript source for more on this.\n\n## SVG\n\nThe icons used in the Plyr controls are loaded in an SVG sprite. The sprite is automatically loaded from our CDN by default. If you already have an icon build\nsystem in place, you can include the source plyr icons (see `/src/sprite` for source icons).\n\n### Using the `iconUrl` option\n\nYou can however specify your own `iconUrl` option and Plyr will determine if the url is absolute and requires loading by AJAX/CORS due to current browser\nlimitations or if it's a relative path, just use the path directly.\n\nIf you're using the `<base>` tag on your site, you may need to use something like this: [svgfixer.js](https://gist.github.com/leonderijke/c5cf7c5b2e424c0061d2)\n\nMore info on SVG sprites here: [http://css-tricks.com/svg-sprites-use-better-icon-fonts/](http://css-tricks.com/svg-sprites-use-better-icon-fonts/) and the AJAX\ntechnique here: [http://css-tricks.com/ajaxing-svg-sprite/](http://css-tricks.com/ajaxing-svg-sprite/)\n\n## Cross Origin (CORS)\n\nYou'll notice the `crossorigin` attribute on the example `<video>` elements. This is because the TextTrack captions are loaded from another domain. If your\nTextTrack captions are also hosted on another domain, you will need to add this attribute and make sure your host has the correct headers setup. For more info\non CORS checkout the MDN docs:\n[https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)\n\n## Captions\n\nWebVTT captions are supported. To add a caption track, check the HTML example above and look for the `<track>` element. Be sure to\n[validate your caption files](https://quuz.org/webvtt/).\n\n## JavaScript\n\n### Initialising\n\nYou can specify a range of arguments for the constructor to use:\n\n-   A [CSS string selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors)\n-   A [`HTMLElement`](https://developer.mozilla.org/en/docs/Web/API/HTMLElement)\n-   A [jQuery](https://jquery.com) object\n\n_Note_: If a `NodeList`, `Array`, or jQuery object are passed, the first element will be used for setup. To setup multiple players, see [multiple players](#multiple-players) below.\n\n#### Single player\n\nPassing a CSS string selector that's compatible with [`querySelector`](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector):\n\n```javascript\nconst player = new Plyr('#player');\n```\n\nPassing a [HTMLElement](https://developer.mozilla.org/en/docs/Web/API/HTMLElement):\n\n```javascript\nconst player = new Plyr(document.getElementById('player'));\n```\n\n```javascript\nconst player = new Plyr(document.querySelector('.js-player'));\n```\n\nThe HTMLElement or string selector can be the target `<video>`, `<audio>`, or `<div>` wrapper for embeds.\n\n#### Multiple players\n\nYou have two choices here. You can either use a simple array loop to map the constructor:\n\n```javascript\nconst players = Array.from(document.querySelectorAll('.js-player')).map(p => new Plyr(p));\n```\n\n...or use a static method where you can pass a [CSS string selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors), a [NodeList](https://developer.mozilla.org/en-US/docs/Web/API/NodeList), an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) of [HTMLElement](https://developer.mozilla.org/en/docs/Web/API/HTMLElement), or a [JQuery](https://jquery.com) object:\n\n```javascript\nconst players = Plyr.setup('.js-player');\n```\n\nBoth options will also return an array of instances in the order of they were in the DOM for the string selector or the source NodeList or Array.\n\n#### Options\n\nThe second argument for the constructor is the [options](#options) object:\n\n```javascript\nconst player = new Plyr('#player', {\n    title: 'Example Title',\n});\n```\n\nOptions can be passed as an object to the constructor as above or as JSON in `data-plyr-config` attribute on each of your target elements:\n\n```html\n<video src=\"/path/to/video.mp4\" id=\"player\" controls data-plyr-config='{ \"title\": \"Example Title\" }'></video>\n```\n\nNote the single quotes encapsulating the JSON and double quotes on the object keys. Only string values need double quotes.\n\n| Option               | Type                       | Default                                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                             |\n| -------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `enabled`            | Boolean                    | `true`                                                                                                                         | Completely disable Plyr. This would allow you to do a User Agent check or similar to programmatically enable or disable Plyr for a certain UA. Example below.                                                                                                                                                                                                                                           |\n| `debug`              | Boolean                    | `false`                                                                                                                        | Display debugging information in the console                                                                                                                                                                                                                                                                                                                                                            |\n| `controls`           | Array, Function or Element | `['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'captions', 'settings', 'pip', 'airplay', 'fullscreen']` | If a function is passed, it is assumed your method will return either an element or HTML string for the controls. Three arguments will be passed to your function; `id` (the unique id for the player), `seektime` (the seektime step in seconds), and `title` (the media title). See [controls.md](controls.md) for more info on how the html needs to be structured.                                  |\n| `settings`           | Array                      | `['captions', 'quality', 'speed', 'loop']`                                                                                     | If you're using the default controls are used then you can specify which settings to show in the menu                                                                                                                                                                                                                                                                                                   |\n| `i18n`               | Object                     | See [defaults.js](/src/js/config/defaults.js)                                                                                  | Used for internationalization (i18n) of the text within the UI.                                                                                                                                                                                                                                                                                                                                         |\n| `loadSprite`         | Boolean                    | `true`                                                                                                                         | Load the SVG sprite specified as the `iconUrl` option (if a URL). If `false`, it is assumed you are handling sprite loading yourself.                                                                                                                                                                                                                                                                   |\n| `iconUrl`            | String                     | `null`                                                                                                                         | Specify a URL or path to the SVG sprite. See the [SVG section](#svg) for more info.                                                                                                                                                                                                                                                                                                                     |\n| `iconPrefix`         | String                     | `plyr`                                                                                                                         | Specify the id prefix for the icons used in the default controls (e.g. \"plyr-play\" would be \"plyr\"). This is to prevent clashes if you're using your own SVG sprite but with the default controls. Most people can ignore this option.                                                                                                                                                                  |\n| `blankVideo`         | String                     | `https://cdn.plyr.io/static/blank.mp4`                                                                                         | Specify a URL or path to a blank video file used to properly cancel network requests.                                                                                                                                                                                                                                                                                                                   |\n| `autoplay`&sup2;     | Boolean                    | `false`                                                                                                                        | Autoplay the media on load. If the `autoplay` attribute is present on a `<video>` or `<audio>` element, this will be automatically set to true.                                                                                                                                                                                                                                                         |\n| `autopause`&sup1;    | Boolean                    | `true`                                                                                                                         | Only allow one player playing at once.                                                                                                                                                                                                                                                                                                                                                                  |\n| `seekTime`           | Number                     | `10`                                                                                                                           | The time, in seconds, to seek when a user hits fast forward or rewind.                                                                                                                                                                                                                                                                                                                                  |\n| `volume`             | Number                     | `1`                                                                                                                            | A number, between 0 and 1, representing the initial volume of the player.                                                                                                                                                                                                                                                                                                                               |\n| `muted`              | Boolean                    | `false`                                                                                                                        | Whether to start playback muted. If the `muted` attribute is present on a `<video>` or `<audio>` element, this will be automatically set to true.                                                                                                                                                                                                                                                       |\n| `clickToPlay`        | Boolean                    | `true`                                                                                                                         | Click (or tap) of the video container will toggle play/pause.                                                                                                                                                                                                                                                                                                                                           |\n| `disableContextMenu` | Boolean                    | `true`                                                                                                                         | Disable right click menu on video to <em>help</em> as very primitive obfuscation to prevent downloads of content.                                                                                                                                                                                                                                                                                       |\n| `hideControls`       | Boolean                    | `true`                                                                                                                         | Hide video controls automatically after 2s of no mouse or focus movement, on control element blur (tab out), on playback start or entering fullscreen. As soon as the mouse is moved, a control element is focused or playback is paused, the controls reappear instantly.                                                                                                                              |\n| `resetOnEnd`         | Boolean                    | false                                                                                                                          | Reset the playback to the start once playback is complete.                                                                                                                                                                                                                                                                                                                                              |\n| `keyboard`           | Object                     | `{ focused: true, global: false }`                                                                                             | Enable [keyboard shortcuts](#shortcuts) for focused players only or globally                                                                                                                                                                                                                                                                                                                            |\n| `tooltips`           | Object                     | `{ controls: false, seek: true }`                                                                                              | `controls`: Display control labels as tooltips on `:hover` & `:focus` (by default, the labels are screen reader only). `seek`: Display a seek tooltip to indicate on click where the media would seek to.                                                                                                                                                                                               |\n| `duration`           | Number                     | `null`                                                                                                                         | Specify a custom duration for media.                                                                                                                                                                                                                                                                                                                                                                    |\n| `displayDuration`    | Boolean                    | `true`                                                                                                                         | Displays the duration of the media on the \"metadataloaded\" event (on startup) in the current time display. This will only work if the `preload` attribute is not set to `none` (or is not set at all) and you choose not to display the duration (see `controls` option).                                                                                                                               |\n| `invertTime`         | Boolean                    | `true`                                                                                                                         | Display the current time as a countdown rather than an incremental counter.                                                                                                                                                                                                                                                                                                                             |\n| `toggleInvert`       | Boolean                    | `true`                                                                                                                         | Allow users to click to toggle the above.                                                                                                                                                                                                                                                                                                                                                               |\n| `listeners`          | Object                     | `null`                                                                                                                         | Allows binding of event listeners to the controls before the default handlers. See the `defaults.js` for available listeners. If your handler prevents default on the event (`event.preventDefault()`), the default handler will not fire.                                                                                                                                                              |\n| `captions`           | Object                     | `{ active: false, language: 'auto', update: false }`                                                                           | `active`: Toggles if captions should be active by default. `language`: Sets the default language to load (if available). 'auto' uses the browser language. `update`: Listen to changes to tracks and update menu. This is needed for some streaming libraries, but can result in unselectable language options).                                                                                        |\n| `fullscreen`         | Object                     | `{ enabled: true, fallback: true, iosNative: false }`                                                                          | `enabled`: Toggles whether fullscreen should be enabled. `fallback`: Allow fallback to a full-window solution (`true`/`false`/`'force'`). `iosNative`: whether to use native iOS fullscreen when entering fullscreen (no custom controls)                                                                                                                                                               |\n| `ratio`              | String                     | `null`                                                                                                                         | Force an aspect ratio for all videos. The format is `'w:h'` - e.g. `'16:9'` or `'4:3'`. If this is not specified then the default for HTML5 and Vimeo is to use the native resolution of the video. As dimensions are not available from YouTube via SDK, 16:9 is forced as a sensible default.                                                                                                         |\n| `storage`            | Object                     | `{ enabled: true, key: 'plyr' }`                                                                                               | `enabled`: Allow use of local storage to store user settings. `key`: The key name to use.                                                                                                                                                                                                                                                                                                               |\n| `speed`              | Object                     | `{ selected: 1, options: [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2] }`                                                                 | `selected`: The default speed for playback. `options`: Options to display in the menu. Most browsers will refuse to play slower than 0.5.                                                                                                                                                                                                                                                               |\n| `quality`            | Object                     | `{ default: 576, options: [4320, 2880, 2160, 1440, 1080, 720, 576, 480, 360, 240] }`                                           | `default` is the default quality level (if it exists in your sources). `options` are the options to display. This is used to filter the available sources.                                                                                                                                                                                                                                              |\n| `loop`               | Object                     | `{ active: false }`                                                                                                            | `active`: Whether to loop the current video. If the `loop` attribute is present on a `<video>` or `<audio>` element, this will be automatically set to true This is an object to support future functionality.                                                                                                                                                                                          |\n| `ads`                | Object                     | `{ enabled: false, publisherId: '' }`                                                                                          | `enabled`: Whether to enable advertisements. `publisherId`: Your unique [vi.ai](https://vi.ai/publisher-video-monetization/?aid=plyrio) publisher ID.                                                                                                                                                                                                                                                   |\n| `urls`               | Object                     | See source.                                                                                                                    | If you wish to override any API URLs then you can do so here. You can also set a custom download URL for the download button.                                                                                                                                                                                                                                                                           |\n| `vimeo`              | Object                     | `{ byline: false, portrait: false, title: false, speed: true, transparent: false }`                                            | See [Vimeo embed options](https://github.com/vimeo/player.js/#embed-options). Some are set automatically based on other config options, namely: `loop`, `autoplay`, `muted`, `gesture`, `playsinline`                                                                                                                                                                                                   |\n| `youtube`            | Object                     | `{ noCookie: false, rel: 0, showinfo: 0, iv_load_policy: 3, modestbranding: 1 }`                                               | See [YouTube embed options](https://developers.google.com/youtube/player_parameters#Parameters). The only custom option is `noCookie` to use an alternative to YouTube that doesn't use cookies (useful for GDPR, etc). Some are set automatically based on other config options, namely: `autoplay`, `hl`, `controls`, `disablekb`, `playsinline`, `cc_load_policy`, `cc_lang_pref`, `widget_referrer` |\n| `previewThumbnails`  | Object                     | `{ enabled: false, src: '' }`                                                                                                  | `enabled`: Whether to enable the preview thumbnails (they must be generated by you). `src` must be either a string or an array of strings representing URLs for the VTT files containing the image URL(s). Learn more about [preview thumbnails](#preview-thumbnails) below.                                                                                                                            |\n\n1.  Vimeo only\n2.  Autoplay is generally not recommended as it is seen as a negative user experience. It is also disabled in many browsers. Before raising issues, do your homework. More info can be found here:\n\n-   https://webkit.org/blog/6784/new-video-policies-for-ios/\n-   https://developers.google.com/web/updates/2017/09/autoplay-policy-changes\n-   https://hacks.mozilla.org/2019/02/firefox-66-to-block-automatically-playing-audible-video-and-audio/\n\n# API\n\nThere are methods, setters and getters on a Plyr object.\n\n## Object\n\nThe easiest way to access the Plyr object is to set the return value from your call to the constructor to a variable. For example:\n\n```javascript\nconst player = new Plyr('#player', {\n    /* options */\n});\n```\n\nYou can also access the object through any events:\n\n```javascript\nelement.addEventListener('ready', event => {\n    const player = event.detail.plyr;\n});\n```\n\n## Methods\n\nExample method use:\n\n```javascript\nplayer.play(); // Start playback\nplayer.fullscreen.enter(); // Enter fullscreen\n```\n\n| Method                   | Parameters       | Description                                                                                                |\n| ------------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------- |\n| `play()`&sup1;           | -                | Start playback.                                                                                            |\n| `pause()`                | -                | Pause playback.                                                                                            |\n| `togglePlay(toggle)`     | Boolean          | Toggle playback, if no parameters are passed, it will toggle based on current status.                      |\n| `stop()`                 | -                | Stop playback and reset to start.                                                                          |\n| `restart()`              | -                | Restart playback.                                                                                          |\n| `rewind(seekTime)`       | Number           | Rewind playback by the specified seek time. If no parameter is passed, the default seek time will be used. |\n| `forward(seekTime)`      | Number           | Fast forward by the specified seek time. If no parameter is passed, the default seek time will be used.    |\n| `increaseVolume(step)`   | Number           | Increase volume by the specified step. If no parameter is passed, the default step will be used.           |\n| `decreaseVolume(step)`   | Number           | Increase volume by the specified step. If no parameter is passed, the default step will be used.           |\n| `toggleCaptions(toggle)` | Boolean          | Toggle captions display. If no parameter is passed, it will toggle based on current status.                |\n| `fullscreen.enter()`     | -                | Enter fullscreen. If fullscreen is not supported, a fallback \"full window/viewport\" is used instead.       |\n| `fullscreen.exit()`      | -                | Exit fullscreen.                                                                                           |\n| `fullscreen.toggle()`    | -                | Toggle fullscreen.                                                                                         |\n| `airplay()`              | -                | Trigger the airplay dialog on supported devices.                                                           |\n| `toggleControls(toggle)` | Boolean          | Toggle the controls (video only). Takes optional truthy value to force it on/off.                          |\n| `on(event, function)`    | String, Function | Add an event listener for the specified event.                                                             |\n| `once(event, function)`  | String, Function | Add an event listener for the specified event once.                                                        |\n| `off(event, function)`   | String, Function | Remove an event listener for the specified event.                                                          |\n| `supports(type)`         | String           | Check support for a mime type.                                                                             |\n| `destroy()`              | -                | Destroy the instance and garbage collect any elements.                                                     |\n\n1.  For HTML5 players, `play()` will return a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) in _some_ browsers - WebKit and Mozilla [according to MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play) at time of writing.\n\n## Getters and Setters\n\nExample setters:\n\n```javascript\nplayer.volume = 0.5; // Sets volume at 50%\nplayer.currentTime = 10; // Seeks to 10 seconds\n```\n\nExample getters:\n\n```javascript\nplayer.volume; // 0.5;\nplayer.currentTime; // 10\nplayer.fullscreen.active; // false;\n```\n\n| Property             | Getter | Setter | Description                                                                                                                                                                                                                                                                                                                            |\n| -------------------- | ------ | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `isHTML5`            | ✓      | -      | Returns a boolean indicating if the current player is HTML5.                                                                                                                                                                                                                                                                           |\n| `isEmbed`            | ✓      | -      | Returns a boolean indicating if the current player is an embedded player.                                                                                                                                                                                                                                                              |\n| `playing`            | ✓      | -      | Returns a boolean indicating if the current player is playing.                                                                                                                                                                                                                                                                         |\n| `paused`             | ✓      | -      | Returns a boolean indicating if the current player is paused.                                                                                                                                                                                                                                                                          |\n| `stopped`            | ✓      | -      | Returns a boolean indicating if the current player is stopped.                                                                                                                                                                                                                                                                         |\n| `ended`              | ✓      | -      | Returns a boolean indicating if the current player has finished playback.                                                                                                                                                                                                                                                              |\n| `buffered`           | ✓      | -      | Returns a float between 0 and 1 indicating how much of the media is buffered                                                                                                                                                                                                                                                           |\n| `currentTime`        | ✓      | ✓      | Gets or sets the currentTime for the player. The setter accepts a float in seconds.                                                                                                                                                                                                                                                    |\n| `seeking`            | ✓      | -      | Returns a boolean indicating if the current player is seeking.                                                                                                                                                                                                                                                                         |\n| `duration`           | ✓      | -      | Returns the duration for the current media.                                                                                                                                                                                                                                                                                            |\n| `volume`             | ✓      | ✓      | Gets or sets the volume for the player. The setter accepts a float between 0 and 1.                                                                                                                                                                                                                                                    |\n| `muted`              | ✓      | ✓      | Gets or sets the muted state of the player. The setter accepts a boolean.                                                                                                                                                                                                                                                              |\n| `hasAudio`           | ✓      | -      | Returns a boolean indicating if the current media has an audio track.                                                                                                                                                                                                                                                                  |\n| `speed`              | ✓      | ✓      | Gets or sets the speed for the player. The setter accepts a value in the options specified in your config. Generally the minimum should be 0.5.                                                                                                                                                                                        |\n| `quality`&sup1;      | ✓      | ✓      | Gets or sets the quality for the player. The setter accepts a value from the options specified in your config.                                                                                                                                                                                                                         |\n| `loop`               | ✓      | ✓      | Gets or sets the current loop state of the player. The setter accepts a boolean.                                                                                                                                                                                                                                                       |\n| `source`             | ✓      | ✓      | Gets or sets the current source for the player. The setter accepts an object. See [source setter](#the-source-setter) below for examples.                                                                                                                                                                                              |\n| `poster`             | ✓      | ✓      | Gets or sets the current poster image for the player. The setter accepts a string; the URL for the updated poster image.                                                                                                                                                                                                               |\n| `autoplay`           | ✓      | ✓      | Gets or sets the autoplay state of the player. The setter accepts a boolean.                                                                                                                                                                                                                                                           |\n| `currentTrack`       | ✓      | ✓      | Gets or sets the caption track by index. `-1` means the track is missing or captions is not active                                                                                                                                                                                                                                     |\n| `language`           | ✓      | ✓      | Gets or sets the preferred captions language for the player. The setter accepts an ISO two-letter language code. Support for the languages is dependent on the captions you include. If your captions don't have any language data, or if you have multiple tracks with the same language, you may want to use `currentTrack` instead. |\n| `fullscreen.active`  | ✓      | -      | Returns a boolean indicating if the current player is in fullscreen mode.                                                                                                                                                                                                                                                              |\n| `fullscreen.enabled` | ✓      | -      | Returns a boolean indicating if the current player has fullscreen enabled.                                                                                                                                                                                                                                                             |\n| `pip`&sup1;          | ✓      | ✓      | Gets or sets the picture-in-picture state of the player. The setter accepts a boolean. This currently only supported on Safari 10+ (on MacOS Sierra+ and iOS 10+) and Chrome 70+.                                                                                                                                                      |\n| `ratio`              | ✓      | ✓      | Gets or sets the video aspect ratio. The setter accepts a string in the same format as the `ratio` option.                                                                                                                                                                                                                             |\n| `download`           | ✓      | ✓      | Gets or sets the URL for the download button. The setter accepts a string containing a valid absolute URL.                                                                                                                                                                                                                             |\n\n1.  HTML5 only\n\n### The `.source` setter\n\nThis allows changing the player source and type on the fly.\n\nVideo example:\n\n```javascript\nplayer.source = {\n    type: 'video',\n    title: 'Example title',\n    sources: [\n        {\n            src: '/path/to/movie.mp4',\n            type: 'video/mp4',\n            size: 720,\n        },\n        {\n            src: '/path/to/movie.webm',\n            type: 'video/webm',\n            size: 1080,\n        },\n    ],\n    poster: '/path/to/poster.jpg',\n    tracks: [\n        {\n            kind: 'captions',\n            label: 'English',\n            srclang: 'en',\n            src: '/path/to/captions.en.vtt',\n            default: true,\n        },\n        {\n            kind: 'captions',\n            label: 'French',\n            srclang: 'fr',\n            src: '/path/to/captions.fr.vtt',\n        },\n    ],\n};\n```\n\nAudio example:\n\n```javascript\nplayer.source = {\n    type: 'audio',\n    title: 'Example title',\n    sources: [\n        {\n            src: '/path/to/audio.mp3',\n            type: 'audio/mp3',\n        },\n        {\n            src: '/path/to/audio.ogg',\n            type: 'audio/ogg',\n        },\n    ],\n};\n```\n\nYouTube example:\n\n```javascript\nplayer.source = {\n    type: 'video',\n    sources: [\n        {\n            src: 'bTqVqk7FSmY',\n            provider: 'youtube',\n        },\n    ],\n};\n```\n\n_Note_: `src` can be the video ID or URL\n\nVimeo example\n\n```javascript\nplayer.source = {\n    type: 'video',\n    sources: [\n        {\n            src: '143418951',\n            provider: 'vimeo',\n        },\n    ],\n};\n```\n\n_Note:_ `src` property for YouTube and Vimeo can either be the video ID or the whole URL.\n\n| Property       | Type   | Description                                                                                                                                                                                                                                                                                                                                                                                                    |\n| -------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `type`         | String | Either `video` or `audio`. _Note:_ YouTube and Vimeo are currently not supported as audio sources.                                                                                                                                                                                                                                                                                                             |\n| `title`        | String | _Optional._ Title of the new media. Used for the `aria-label` attribute on the play button, and outer container. YouTube and Vimeo are populated automatically.                                                                                                                                                                                                                                                |\n| `sources`      | Array  | This is an array of sources. For HTML5 media, the properties of this object are mapped directly to HTML attributes so more can be added to the object if required.                                                                                                                                                                                                                                             |\n| `poster`&sup1; | String | The URL for the poster image (HTML5 video only).                                                                                                                                                                                                                                                                                                                                                               |\n| `tracks`&sup1; | String | An array of track objects. Each element in the array is mapped directly to a track element and any keys mapped directly to HTML attributes so as in the example above, it will render as `<track kind=\"captions\" label=\"English\" srclang=\"en\" src=\"https://cdn.selz.com/plyr/1.0/example_captions_en.vtt\" default>` and similar for the French version. Booleans are converted to HTML5 value-less attributes. |\n\n1.  HTML5 only\n\n# Events\n\nYou can listen for events on the target element you setup Plyr on (see example under the table). Some events only apply to HTML5 audio and video. Using your\nreference to the instance, you can use the `on()` API method or `addEventListener()`. Access to the API can be obtained this way through the `event.detail.plyr`\nproperty. Here's an example:\n\n```javascript\nplayer.on('ready', event => {\n    const instance = event.detail.plyr;\n});\n```\n\n## Standard Media Events\n\n| Event Type         | Description                                                                                                                                                                                                            |\n| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `progress`         | Sent periodically to inform interested parties of progress downloading the media. Information about the current amount of the media that has been downloaded is available in the media element's `buffered` attribute. |\n| `playing`          | Sent when the media begins to play (either for the first time, after having been paused, or after ending and then restarting).                                                                                         |\n| `play`             | Sent when playback of the media starts after having been paused; that is, when playback is resumed after a prior `pause` event.                                                                                        |\n| `pause`            | Sent when playback is paused.                                                                                                                                                                                          |\n| `timeupdate`       | The time indicated by the element's `currentTime` attribute has changed.                                                                                                                                               |\n| `volumechange`     | Sent when the audio volume changes (both when the volume is set and when the `muted` state is changed).                                                                                                                |\n| `seeking`          | Sent when a seek operation begins.                                                                                                                                                                                     |\n| `seeked`           | Sent when a seek operation completes.                                                                                                                                                                                  |\n| `ratechange`       | Sent when the playback speed changes.                                                                                                                                                                                  |\n| `ended`            | Sent when playback completes. _Note:_ This does not fire if `autoplay` is true.                                                                                                                                        |\n| `enterfullscreen`  | Sent when the player enters fullscreen mode (either the proper fullscreen or full-window fallback for older browsers).                                                                                                 |\n| `exitfullscreen`   | Sent when the player exits fullscreen mode.                                                                                                                                                                            |\n| `captionsenabled`  | Sent when captions are enabled.                                                                                                                                                                                        |\n| `captionsdisabled` | Sent when captions are disabled.                                                                                                                                                                                       |\n| `languagechange`   | Sent when the caption language is changed.                                                                                                                                                                             |\n| `controlshidden`   | Sent when the controls are hidden.                                                                                                                                                                                     |\n| `controlsshown`    | Sent when the controls are shown.                                                                                                                                                                                      |\n| `ready`            | Triggered when the instance is ready for API calls.                                                                                                                                                                    |\n\n### HTML5 only\n\n| Event Type       | Description                                                                                                                                                                                                                                                                                                                                    |\n| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `loadstart`      | Sent when loading of the media begins.                                                                                                                                                                                                                                                                                                         |\n| `loadeddata`     | The first frame of the media has finished loading.                                                                                                                                                                                                                                                                                             |\n| `loadedmetadata` | The media's metadata has finished loading; all attributes now contain as much useful information as they're going to.                                                                                                                                                                                                                          |\n| `qualitychange`  | The quality of playback has changed.                                                                                                                                                                                                                                                                                                           |\n| `canplay`        | Sent when enough data is available that the media can be played, at least for a couple of frames. This corresponds to the `HAVE_ENOUGH_DATA` `readyState`.                                                                                                                                                                                     |\n| `canplaythrough` | Sent when the ready state changes to `CAN_PLAY_THROUGH`, indicating that the entire media can be played without interruption, assuming the download rate remains at least at the current level. _Note:_ Manually setting the `currentTime` will eventually fire a `canplaythrough` event in firefox. Other browsers might not fire this event. |\n| `stalled`        | Sent when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.                                                                                                                                                                                                                                              |\n| `waiting`        | Sent when the requested operation (such as playback) is delayed pending the completion of another operation (such as a seek).                                                                                                                                                                                                                  |\n| `emptied`        | he media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the `load()` method is called to reload it.                                                                                                                                                                         |\n| `cuechange`      | Sent when a `TextTrack` has changed the currently displaying cues.                                                                                                                                                                                                                                                                             |\n| `error`          | Sent when an error occurs. The element's `error` attribute contains more information.                                                                                                                                                                                                                                                          |\n\n### YouTube only\n\n| Event Type    | Description                                                                                                                                                                                                                                                                                                                |\n| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `statechange` | The state of the player has changed. The code can be accessed via `event.detail.cod","readmeFilename":"readme.md"}