diff --git a/README.md b/README.md index 01a4b83..68351b0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # playerx -[![Version](https://img.shields.io/npm/v/playerx.svg?color=success&style=flat-square)](https://www.npmjs.com/package/playerx) -[![Badge size](https://img.badgesize.io/https://cdn.jsdelivr.net/npm/playerx/+esm?compression=gzip&label=gzip&style=flat-square)](https://bundlephobia.com/result?p=playerx) +[![NPM Version](https://img.shields.io/npm/v/playerx?style=flat-square&color=informational)](https://www.npmjs.com/package/playerx) +[![NPM Downloads](https://img.shields.io/npm/dm/playerx?style=flat-square&color=informational&label=npm)](https://www.npmjs.com/package/playerx) +[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/playerx?style=flat-square&color=%23FF5627)](https://www.jsdelivr.com/package/npm/playerx) +[![npm bundle size](https://img.shields.io/bundlephobia/minzip/playerx?style=flat-square&color=success&label=gzip)](https://bundlephobia.com/result?p=playerx) **npm**: `npm i playerx` **cdn**: https://cdn.jsdelivr.net/npm/playerx/+esm diff --git a/package-lock.json b/package-lock.json index c4bb05e..284e108 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,18 +13,18 @@ ], "dependencies": { "@luwes/dash-video-element": "^1.0.1", - "@mux/mux-player": "^1.14.2", - "hls-video-element": "^1.0.0", - "jwplayer-video-element": "^1.0.5", + "@mux/mux-player": "^2.5.0", + "hls-video-element": "^1.1.4", + "jwplayer-video-element": "^1.0.6", "super-media-element": "~1.3.0", - "vimeo-video-element": "^1.0.2", - "wistia-video-element": "^1.0.8", - "youtube-video-element": "^1.0.0" + "vimeo-video-element": "^1.0.3", + "wistia-video-element": "^1.0.9", + "youtube-video-element": "^1.0.1" }, "devDependencies": { "eslint": "^8.49.0", "schema-dts": "^1.1.2", - "typescript": "^5.2.2" + "typescript": "^5.4.5" } }, "node_modules/@11ty/dependency-tree": { @@ -2301,41 +2301,35 @@ "integrity": "sha512-gvsK4QVc9xGU5m8G9b+00qfRrwUHOSGuMaLw7s9ERJSTQjjTh1YnTCe3ouKbNJMat2RdzJvLm5dZWkFiuAupBQ==" }, "node_modules/@mux/mux-player": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/@mux/mux-player/-/mux-player-1.15.0.tgz", - "integrity": "sha512-b7U82PbsH6/lTSiHMSQyqnofuRoTqCgx6L5DvF81r/oicXLzwB6kaSmp14WX+KBEduzAVKEykGcQOZXcjYDFgg==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@mux/mux-player/-/mux-player-2.5.0.tgz", + "integrity": "sha512-Tps+GsWlUuzJHwZpHHb/47OGKF7MXr6ca2RRL/S/7TRX5Y45qROoZiqZ859AxZW2UPcy7chFR6LROd4X7PSMQQ==", "dependencies": { - "@mux/mux-video": "0.16.5", - "@mux/playback-core": "0.20.2", - "media-chrome": "^1.4.3" + "@mux/mux-video": "0.18.0", + "@mux/playback-core": "0.23.0", + "media-chrome": "~3.2.1" } }, "node_modules/@mux/mux-video": { - "version": "0.16.5", - "resolved": "https://registry.npmjs.org/@mux/mux-video/-/mux-video-0.16.5.tgz", - "integrity": "sha512-YtM8A+AcYRD8AhcaensueNcUABjBJcDCg34M0rxhRIOBLaAr6Gz9qo9dRGuI0n+Rm6xD0VCRlS41D3YbJ8NNHA==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@mux/mux-video/-/mux-video-0.18.0.tgz", + "integrity": "sha512-uRheOAEe47k4nadoH/q/5/sfgd1amr6OSesh1yTQPDtAICIy8zCOHyLLOCaJl7vVZxw9/JRQuwO6MwjzjHhdng==", "dependencies": { - "@mux/playback-core": "0.20.2", - "castable-video": "0.5.2", - "custom-media-element": "0.2.0", - "media-tracks": ">=0.2.3" + "@mux/playback-core": "0.23.0", + "castable-video": "~1.0.6", + "custom-media-element": "~1.2.3", + "media-tracks": "~0.3.0" } }, "node_modules/@mux/playback-core": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@mux/playback-core/-/playback-core-0.20.2.tgz", - "integrity": "sha512-0uRy+8Rv3PDV0f7Je/m+y56lw96iyv3baxQPDmW2JnihR60/wtIzNRJSLE5vrzsKMysWBrnJ6Mwu8WkEB1qjLQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@mux/playback-core/-/playback-core-0.23.0.tgz", + "integrity": "sha512-7MX5xnJ+rFReVDAWKEwHqnfOyQkX+dzYysrTLAy0L1xJMsIhMhAD+wwvkDC/rRgtha5jHF863GCwrJAHmnxSCA==", "dependencies": { - "hls.js": "^1.4.10", - "media-tracks": "0.2.3", - "mux-embed": "^4.27.0" + "hls.js": "~1.5.8", + "mux-embed": "~5.2.0" } }, - "node_modules/@mux/playback-core/node_modules/media-tracks": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/media-tracks/-/media-tracks-0.2.3.tgz", - "integrity": "sha512-h5HRl1tIyeV+aF59FAmHmxChmdM/Ewf/twpxZkRme1ny46owD24uTA0BmRuPoO+uzvE0lx9ZIkZj1TbXi2VCng==" - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -2572,9 +2566,9 @@ "dev": true }, "node_modules/@vimeo/player": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/@vimeo/player/-/player-2.20.1.tgz", - "integrity": "sha512-eoKkqsMY33RQn8lFtlUbb3uo+xDL3V8PTN01SdrJ1E9PI+5pLyqNGh/GO/2EyX9Vr6antLm0/v36ABF2rcwXIQ==", + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/@vimeo/player/-/player-2.22.0.tgz", + "integrity": "sha512-IIJlmZDBOkpYuRWRU4ptqIMNQwNhzI7pdYkeizh9DfuRzxOWzuxopOlX84hKeSzpI3KS9cD9MSAaEZ8j4Jg0kg==", "dependencies": { "native-promise-only": "0.8.1", "weakmap-polyfill": "2.0.4" @@ -3187,9 +3181,12 @@ ] }, "node_modules/castable-video": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/castable-video/-/castable-video-0.5.2.tgz", - "integrity": "sha512-eP19NY8AF9G+Xj87R447GMkWuUc0W3DSNx5qOypH/+mr2aaHRONaIK5H4bxMgpXZslZ2vNNvCuVuKi3VdCUGEA==" + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/castable-video/-/castable-video-1.0.6.tgz", + "integrity": "sha512-Ykw2uL4ZQnqX0j9KF9ksbDpyc8I53mFMswCKW9yV5TrwpWkdNqRHLlcU85W30BIw61fgDjgm0Xh5G0rbcmv23g==", + "dependencies": { + "custom-media-element": "~1.2.2" + } }, "node_modules/catharsis": { "version": "0.9.0", @@ -3477,9 +3474,9 @@ "dev": true }, "node_modules/custom-media-element": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/custom-media-element/-/custom-media-element-0.2.0.tgz", - "integrity": "sha512-N++UzR1COFip4DrtZkS99VDCcQvVCJmbqI7qaxZtHWKdAv/RUYIOnmJbP/HHk2un0PjvtFNKHfNLiFsd9BmnMQ==" + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/custom-media-element/-/custom-media-element-1.2.3.tgz", + "integrity": "sha512-xr9Hbrslkjm1fapJP5hL98pySeZmNepBSefQS/XTxynamqPTfRBK5MnhReMOiAj8xvJApVPrVnlYxIrknay8jg==" }, "node_modules/dashjs": { "version": "4.7.3", @@ -5463,24 +5460,19 @@ } }, "node_modules/hls-video-element": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/hls-video-element/-/hls-video-element-1.1.0.tgz", - "integrity": "sha512-P9m+5jyVwUL8jKFrNKCZgn59/Tc46BlDeeUYHTzdzlxuvoiLikxiOSst9oRAA8TD3dHqva0bfVmi1ay89JU1zg==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/hls-video-element/-/hls-video-element-1.1.4.tgz", + "integrity": "sha512-CrZB61010W7EMN8ArnzkF28w/gOaIrICrmkzo0+mh2x0ElkcitsCRgLte8dRCXbN/8+SAuMuONmD78SK2zGxGQ==", "dependencies": { - "custom-media-element": "^1.1.0", - "hls.js": "^1.4.12", - "media-tracks": "^0.2.4" + "custom-media-element": "^1.2.3", + "hls.js": "^1.5.8", + "media-tracks": "^0.3.0" } }, - "node_modules/hls-video-element/node_modules/custom-media-element": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/custom-media-element/-/custom-media-element-1.2.0.tgz", - "integrity": "sha512-m2MusCiqVbCCDjZWCqi2eyvTDSN4BUqYiQm18nFiahZcvg6dA5R0U+2MMYvfqJF8qEllJr7lboBQBLjkYcr6mA==" - }, "node_modules/hls.js": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.4.13.tgz", - "integrity": "sha512-7QGXXS0u/vu0mQqNPRBKR31ru4BLVabVSOnGaXoQZhMRNbfCNTPNJk9ToC0pzvRUfLK/71QjhQO2wdHrgbKeKg==" + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.5.8.tgz", + "integrity": "sha512-hJYMPfLhWO7/7+n4f9pn6bOheCGx0WgvVz7k3ouq3Pp1bja48NN+HeCQu3XCGYzqWQF/wo7Sk6dJAyWVJD8ECA==" }, "node_modules/homedir-polyfill": { "version": "1.0.3", @@ -6375,18 +6367,13 @@ } }, "node_modules/jwplayer-video-element": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/jwplayer-video-element/-/jwplayer-video-element-1.0.5.tgz", - "integrity": "sha512-xpxdEEbGtBcqQktaHFQYRdE5hXo9syUrJoJdnyJv0d9YQvlFAftl3ebPCIdxzsf2PDAoMH4EIN68AkYOQ7L55Q==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/jwplayer-video-element/-/jwplayer-video-element-1.0.6.tgz", + "integrity": "sha512-l0K3BtAm8zvC6SSv8xcxf7+eBpA3IGXrO80bBFpCBlIn/E9TCAKmjj5S861CQYNpCwjZBBqGBJt/xvnplxOZ7Q==", "dependencies": { - "super-media-element": "~1.2.4" + "super-media-element": "~1.3.0" } }, - "node_modules/jwplayer-video-element/node_modules/super-media-element": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/super-media-element/-/super-media-element-1.2.5.tgz", - "integrity": "sha512-gvsK4QVc9xGU5m8G9b+00qfRrwUHOSGuMaLw7s9ERJSTQjjTh1YnTCe3ouKbNJMat2RdzJvLm5dZWkFiuAupBQ==" - }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", @@ -7007,14 +6994,14 @@ "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==" }, "node_modules/media-chrome": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/media-chrome/-/media-chrome-1.7.0.tgz", - "integrity": "sha512-2xut3GBOePwzgYGFc9+4ktWYApuL2JnMshgiw7Tgngp5tZKZugdSUGyImAgwrKM8NGE7NIcaFT584axh9dxoJw==" + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/media-chrome/-/media-chrome-3.2.1.tgz", + "integrity": "sha512-WXWccoeu9bzMsPtTaEd340gzL/amE6LW0o13Dg0RSAwjNhFmuMmsBvRfO7m/GzMYjmOD4R/3Ckvte6jvHAK+mw==" }, "node_modules/media-tracks": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/media-tracks/-/media-tracks-0.2.4.tgz", - "integrity": "sha512-P/TbDCYTFH5gxpQ6r99iabXOwjsFwzKRgK7wiwo64Ii6nHXYhHtwEP7A7ufmEKxkNCoHc4j3Z2hvs+lXL4wPeQ==" + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-tracks/-/media-tracks-0.3.0.tgz", + "integrity": "sha512-kicD8eOFwe6nD7jn7iM/0yuLzWuo6abWHURYwY7NhxL1dBif+lt0on4rLTs6VhKwAEE/BjT3wr+0vn1w8SBpag==" }, "node_modules/memorystream": { "version": "0.3.1", @@ -7182,9 +7169,9 @@ } }, "node_modules/mux-embed": { - "version": "4.30.0", - "resolved": "https://registry.npmjs.org/mux-embed/-/mux-embed-4.30.0.tgz", - "integrity": "sha512-XAgAp4CEvsiZL26GbruzeG1g33OWyrzuskDMavXUxDufTxS0/AxAhwoTTRqEzEJS9vnZa/X9R2GV3xRX1XMp2w==" + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/mux-embed/-/mux-embed-5.2.0.tgz", + "integrity": "sha512-hF9WDXnUu+5cYA36DfrdEKEpcV26dZvGmx2MAqvCg0kJiH/HcjNCk6QRCGJW0Xoe0Jtp2vAF9RbY6eL0uvZTZA==" }, "node_modules/nanoid": { "version": "3.3.7", @@ -7983,6 +7970,62 @@ "youtube-video-element": "^1.0.0" } }, + "node_modules/playerx/node_modules/@mux/mux-player": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/@mux/mux-player/-/mux-player-1.15.0.tgz", + "integrity": "sha512-b7U82PbsH6/lTSiHMSQyqnofuRoTqCgx6L5DvF81r/oicXLzwB6kaSmp14WX+KBEduzAVKEykGcQOZXcjYDFgg==", + "dependencies": { + "@mux/mux-video": "0.16.5", + "@mux/playback-core": "0.20.2", + "media-chrome": "^1.4.3" + } + }, + "node_modules/playerx/node_modules/@mux/mux-video": { + "version": "0.16.5", + "resolved": "https://registry.npmjs.org/@mux/mux-video/-/mux-video-0.16.5.tgz", + "integrity": "sha512-YtM8A+AcYRD8AhcaensueNcUABjBJcDCg34M0rxhRIOBLaAr6Gz9qo9dRGuI0n+Rm6xD0VCRlS41D3YbJ8NNHA==", + "dependencies": { + "@mux/playback-core": "0.20.2", + "castable-video": "0.5.2", + "custom-media-element": "0.2.0", + "media-tracks": ">=0.2.3" + } + }, + "node_modules/playerx/node_modules/@mux/playback-core": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@mux/playback-core/-/playback-core-0.20.2.tgz", + "integrity": "sha512-0uRy+8Rv3PDV0f7Je/m+y56lw96iyv3baxQPDmW2JnihR60/wtIzNRJSLE5vrzsKMysWBrnJ6Mwu8WkEB1qjLQ==", + "dependencies": { + "hls.js": "^1.4.10", + "media-tracks": "0.2.3", + "mux-embed": "^4.27.0" + } + }, + "node_modules/playerx/node_modules/castable-video": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/castable-video/-/castable-video-0.5.2.tgz", + "integrity": "sha512-eP19NY8AF9G+Xj87R447GMkWuUc0W3DSNx5qOypH/+mr2aaHRONaIK5H4bxMgpXZslZ2vNNvCuVuKi3VdCUGEA==" + }, + "node_modules/playerx/node_modules/custom-media-element": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/custom-media-element/-/custom-media-element-0.2.0.tgz", + "integrity": "sha512-N++UzR1COFip4DrtZkS99VDCcQvVCJmbqI7qaxZtHWKdAv/RUYIOnmJbP/HHk2un0PjvtFNKHfNLiFsd9BmnMQ==" + }, + "node_modules/playerx/node_modules/media-chrome": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/media-chrome/-/media-chrome-1.7.0.tgz", + "integrity": "sha512-2xut3GBOePwzgYGFc9+4ktWYApuL2JnMshgiw7Tgngp5tZKZugdSUGyImAgwrKM8NGE7NIcaFT584axh9dxoJw==" + }, + "node_modules/playerx/node_modules/media-tracks": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/media-tracks/-/media-tracks-0.2.3.tgz", + "integrity": "sha512-h5HRl1tIyeV+aF59FAmHmxChmdM/Ewf/twpxZkRme1ny46owD24uTA0BmRuPoO+uzvE0lx9ZIkZj1TbXi2VCng==" + }, + "node_modules/playerx/node_modules/mux-embed": { + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/mux-embed/-/mux-embed-4.30.0.tgz", + "integrity": "sha512-XAgAp4CEvsiZL26GbruzeG1g33OWyrzuskDMavXUxDufTxS0/AxAhwoTTRqEzEJS9vnZa/X9R2GV3xRX1XMp2w==" + }, "node_modules/please-upgrade-node": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", @@ -9889,9 +9932,9 @@ } }, "node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -10145,11 +10188,11 @@ } }, "node_modules/vimeo-video-element": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/vimeo-video-element/-/vimeo-video-element-1.0.2.tgz", - "integrity": "sha512-5NRuEbfJWjJSJJ8hiSxsVYXvzCAymRPaqPtJh2ELgyQs92c1HncjE8oMFjiPziNOplcAhIrWpg1LfvGfLJvibQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/vimeo-video-element/-/vimeo-video-element-1.0.3.tgz", + "integrity": "sha512-rk83zszj6DPBKzcTZUWvI45/ejrbURo321jpNkn6Y/TuM4GpthaR2h6eC3azgYVxuTpNZP4CUSVq4cir0EV9cQ==", "dependencies": { - "@vimeo/player": "2.20.1" + "@vimeo/player": "2.22.0" } }, "node_modules/void-elements": { @@ -10235,18 +10278,13 @@ } }, "node_modules/wistia-video-element": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/wistia-video-element/-/wistia-video-element-1.0.8.tgz", - "integrity": "sha512-FgBVOpLuVk/gkzOzf7pJrkq4ClQ2p/CrWOucpMgHty161ytH34avYAfPeclTpg2Cu1OfSy14ziUEYu8WzhBANw==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/wistia-video-element/-/wistia-video-element-1.0.9.tgz", + "integrity": "sha512-u1S5bMVyRbpaxhgDY/iyZH4iSyrY8nn+mCNOV42cNp0mK/YYt6Il7EHVdOClzW11kte6l8TaMQDcQN+eAM0peQ==", "dependencies": { - "super-media-element": "~1.2.5" + "super-media-element": "~1.3.0" } }, - "node_modules/wistia-video-element/node_modules/super-media-element": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/super-media-element/-/super-media-element-1.2.5.tgz", - "integrity": "sha512-gvsK4QVc9xGU5m8G9b+00qfRrwUHOSGuMaLw7s9ERJSTQjjTh1YnTCe3ouKbNJMat2RdzJvLm5dZWkFiuAupBQ==" - }, "node_modules/with": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/with/-/with-7.0.2.tgz", @@ -10335,9 +10373,9 @@ } }, "node_modules/youtube-video-element": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/youtube-video-element/-/youtube-video-element-1.0.0.tgz", - "integrity": "sha512-1gVgshAKgQD3BkIJPBzxSjX/Kz47QXpFF9/HIsd8IBJf3LS5tn7kbD5hKMjem9y8NuwH38n6Z+XLRQDWohi+9g==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/youtube-video-element/-/youtube-video-element-1.0.1.tgz", + "integrity": "sha512-Iy98SyfdxU+MuLPx/dj3mpskv8qq+3f6eWSgSXEug5HS+t+QExDAs9rWVWW30xDIcCGBHspFmLHsXB4qSt9Crw==" }, "node_modules/zlib": { "version": "1.0.5", diff --git a/package.json b/package.json index 1ad1443..ecefd1b 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,13 @@ "name": "playerx", "version": "1.0.5", "description": "Playerx", + "author": "Wesley Luyten (https://wesleyluyten.com)", + "license": "MIT", + "repository": "luwes/playerx", + "homepage": "https://github.com/luwes/playerx#readme", + "bugs": { + "url": "https://github.com/luwes/playerx/issues" + }, "type": "module", "main": "src/playerx.js", "types": "src/playerx.d.ts", @@ -22,27 +29,20 @@ "lint": "eslint src/*/", "test": "npm run lint" }, - "repository": "luwes/playerx", - "author": "Wesley Luyten (https://wesleyluyten.com)", - "license": "MIT", - "homepage": "https://github.com/luwes/playerx#readme", - "bugs": { - "url": "https://github.com/luwes/playerx/issues" - }, "dependencies": { "@luwes/dash-video-element": "^1.0.1", - "@mux/mux-player": "^1.14.2", - "hls-video-element": "^1.0.0", - "jwplayer-video-element": "^1.0.5", + "@mux/mux-player": "^2.5.0", + "hls-video-element": "^1.1.4", + "jwplayer-video-element": "^1.0.6", "super-media-element": "~1.3.0", - "vimeo-video-element": "^1.0.2", - "wistia-video-element": "^1.0.8", - "youtube-video-element": "^1.0.0" + "vimeo-video-element": "^1.0.3", + "wistia-video-element": "^1.0.9", + "youtube-video-element": "^1.0.1" }, "devDependencies": { "eslint": "^8.49.0", "schema-dts": "^1.1.2", - "typescript": "^5.2.2" + "typescript": "^5.4.5" }, "prettier": { "tabWidth": 2, diff --git a/src/options.js b/src/options.js index df77762..65cbdb9 100644 --- a/src/options.js +++ b/src/options.js @@ -8,7 +8,7 @@ export const options = { pattern: /\.m3u8($|\?)/i, type: 'hls-video', pkg: 'hls-video-element', - version: '1.0', + version: '1.1', jsUrl: '{{npmCdn}}/{{pkg}}@{{version}}/+esm', }, dash: { @@ -22,7 +22,7 @@ export const options = { pattern: /stream\.mux\.com\/(\w+)|\?player=muxplayer/, type: 'mux-player', pkg: '@mux/mux-player', - version: '1.14', + version: '2.5', jsUrl: '{{npmCdn}}/{{pkg}}@{{version}}/dist/mux-player.js', }, jwplayer: {