{"_id":"@542.digital/tencent-video-player","_rev":"12-0ce9af23be76927c487c005d8971a029","name":"@542.digital/tencent-video-player","dist-tags":{"latest":"1.0.11"},"versions":{"1.0.0":{"name":"@542.digital/tencent-video-player","version":"1.0.0","exports":{".":{"import":"./dist/main.es.js","require":"./dist/main.cjs.js"}},"main":"./dist/main.cjs.js","module":"./dist/main.es.js","typings":"./dist/main.d.ts","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{"user":"0.0.0"},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-GpLdmIAaQJsEDYorIBTbopFjMVY8UAuEIifAoBZptOs8pNhsiXH8GMDhlHjYCejXKr7bT4jNYIX9up4rqz/zbQ==","shasum":"c12bd2ebfbb69bbfbe076442e96317612f85b08a","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.0.tgz","fileCount":13,"unpackedSize":11248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDevCB2L/3ggbWKQ9gcKO+PbQylLswHkD9w0rMgjAIM3wIgISEgn8RAKTRb9DLoYU6Hl/YwB49vkf5fqlKlkz7KCso="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.0_1684412837665_0.11993617627686182"},"_hasShrinkwrap":false},"1.0.1":{"name":"@542.digital/tencent-video-player","version":"1.0.1","exports":{".":{"import":"./dist/main.es.js","require":"./dist/main.cjs.js"}},"main":"./dist/main.js","module":"./dist/main.mjs","typings":"./dist/main.d.ts","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{"user":"0.0.0"},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-/TsRtdbKiXhfDcCeVIKTkbsJ3wcAaZ8KJOeeOqhRKWN80SKNgSwQR13CTxZqhJtbTlTgyYVdN/zEvMczl69G5Q==","shasum":"d4564dd157b7976419a70be853554f14f7873fc0","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.1.tgz","fileCount":13,"unpackedSize":11242,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3XuU619SBTmHMFjMA0EqowI/mwrg0BNBWTEe/oz5XYAiATFdAVwLK4bvP4cwhzckViSzP3wk7TAMX6D7pwPgbY8Q=="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.1_1684413150349_0.3812305829956657"},"_hasShrinkwrap":false},"1.0.2":{"name":"@542.digital/tencent-video-player","version":"1.0.2","exports":{".":{"import":"./dist/main.es.js","require":"./dist/main.cjs.js"}},"main":"./dist/main.cjs.js","module":"./dist/main.es.js","typings":"./dist/main.d.ts","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-/MBqhvT+Bq4lMfxAozKgJ/c2J9wIKCwThkQH2rSfW4GDIoa9coYhuJWddmw7rGu2ZKFAPxFFNS0Tb1im3FUW6A==","shasum":"b99edbfd777ab30ad6d9715ec9ff89f182e21cd9","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.2.tgz","fileCount":13,"unpackedSize":11262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx1sjP4G4ANWbh9a4vbDdoHmrTAHid1AHoOm7ICV8eJgIgOXwAETaDKPIyeUxbb+BS5n5HDlO20yNOXoMZ0Rk2tYY="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.2_1684413935419_0.6994605798533573"},"_hasShrinkwrap":false},"1.0.3":{"name":"@542.digital/tencent-video-player","version":"1.0.3","exports":{".":{"import":"./dist/main.es.js","require":"./dist/main.cjs.js"}},"main":"./dist/main.cjs.js","module":"./dist/main.es.js","typings":"./dist/main.d.ts","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.3","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-XAsy8geEhum6zoF5nLfTiUAIojbjsaPRLdOmoxeiyDlBOHAAiiDriZKoXOXn3pORFb35SOt14LLHtxB87AwIrw==","shasum":"fba2abdd7b9ed7dad5e5d9b4983425513595f72a","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.3.tgz","fileCount":13,"unpackedSize":11262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgp6mzHyV0WbKcRgEDQ/FlaZuTtpHgZxqVaecxTbzHbwIgLJRjDR8WTySyLVLokBFGVvKTo2LvmsZQOjRT5F9yyt4="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.3_1684414289315_0.026643652604402712"},"_hasShrinkwrap":false},"1.0.4":{"name":"@542.digital/tencent-video-player","version":"1.0.4","exports":{".":{"import":"./dist/main.es.js","require":"./dist/main.cjs.js"}},"main":"./dist/main.cjs.js","module":"./dist/main.es.js","typings":"./dist/main.d.ts","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.4","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-3/N5cS2FyK6v6TjdQMS1btThdD5CyFuu1j8RZQTVuEZrUfB09HRPKANXZPx1Sh3Sit3sb1z1YOhjMOMnezX4kg==","shasum":"4bcdeeb3312c62f54f27cf933e42713d2fc752d3","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.4.tgz","fileCount":13,"unpackedSize":11262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+XB7AeHHDbyDWJXIfiRxq8qPip/Dm+m5eC56t0VPsrQIhAOIOJ+NdkaGlUGu/HXge5msCO1vgQJeL7FJo6M0ZQTIt"}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.4_1684414364727_0.03154986573454943"},"_hasShrinkwrap":false},"1.0.5":{"name":"@542.digital/tencent-video-player","version":"1.0.5","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.5","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-j6CJ4KROV9lKqr846B60wHcPRNLahpK2kM/zfurDQQluQLsLXRLcGTB34Zv9O3a8rJwVFazZoGEAwgzK2B3hoQ==","shasum":"c5db4fab0f32e604b1ae67e2bbe613e1de81f29c","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.5.tgz","fileCount":13,"unpackedSize":11277,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/X9b6nSG4YRwZ1s1/CCCWOuuJ5wjE29m5fBcaLTlXfwIhAOoxDICYowGfjFLMbTpRsdKVNY82SZwkjJzfkKc//BeN"}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.5_1685014850557_0.766825143589958"},"_hasShrinkwrap":false},"1.0.6":{"name":"@542.digital/tencent-video-player","version":"1.0.6","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"},"./dist/styles.css":{"import":"./dist/style.css","require":"./dist/style.css"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.6","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-XMtFRgi9KhHnFwYuwAR84mEdmypnqmPaWUIXwyZqPTbO1wHC8Vdf0JXp69eBTUGUzo6l5wsFudZr7WAFQa/dpw==","shasum":"0e61aa8ca379e8a7ed21d3084ded87f3ec14adb6","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.6.tgz","fileCount":13,"unpackedSize":11383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSfGhmngJNcKvkKBa66caUgiZpMJZNqjsFW8GB6Oww7AiEA5t7dc1WTSVlu2Zd/FhsghrYjhKh53Cvc1vhOgafGb8g="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.6_1685016376614_0.24495992233635144"},"_hasShrinkwrap":false},"1.0.7":{"name":"@542.digital/tencent-video-player","version":"1.0.7","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"},"./dist/styles.css":{"import":"./dist/style.css","require":"./dist/style.css"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite"},"dependencies":{},"devDependencies":{"@rollup/plugin-typescript":"11.1.1","@types/node":"20.2.0","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"gitHead":"9a8a7b08b27f993fd7242ba83bfabf43c1f3527f","description":"The VideoPlayer class is a custom video player wrapper around the TCPlayer library. It allows you to create a video player instance with custom options, events, and a play button.","_id":"@542.digital/tencent-video-player@1.0.7","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-usopNGzAu0unVJr3ia1RFuYw0e8J9Ll/frh6xm/8+uWZdFp7q9qRFToIVBUsxm/VU3B3+oNi6Koytq7ANJC2EA==","shasum":"cfec688184876272422acfdd925eb75b3b2b7a3d","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.7.tgz","fileCount":13,"unpackedSize":11383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDowZA9d84s6SFq8lbB2P6Fzi3F6sPdqdCe0NWSQfH+TgIgYhdifDb3kCZzu76aRT8fpFqyr0Z3BNW8DqMP5icm3TI="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.7_1685016395681_0.7481535540287985"},"_hasShrinkwrap":false},"1.0.8":{"name":"@542.digital/tencent-video-player","engines":{"node":">=18.0.0"},"version":"1.0.8","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"},"./dist/styles.css":{"import":"./dist/style.css","require":"./dist/style.css"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite","prepare":"husky install","prepare-commit-msg":"npx commitlint --edit ${1}","lint":"prettier . --check --ignore-unknown","lint:fix":"prettier . --write --ignore-unknown"},"devDependencies":{"@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@rollup/plugin-typescript":"11.1.1","@semantic-release/changelog":"6.0.3","@semantic-release/git":"10.0.1","@semantic-release/gitlab":"12.0.1","@semantic-release/npm":"10.0.3","@types/node":"20.2.0","husky":"^8.0.0","lint-staged":"13.2.2","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","semantic-release":"21.0.2","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.8","vite-plugin-progress":"0.0.7"},"lint-staged":{"**/*":"prettier . --write --ignore-unknown"},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"dependencies":{"commitlint":"17.6.5"},"gitHead":"2c13ad69fa30091bb73aa4f19665d589faf7a4d3","description":"This package provides a wrapper around the Tencent TCPlayer library, making it easy to incorporate a feature-rich video player into your JavaScript or TypeScript application.","_id":"@542.digital/tencent-video-player@1.0.8","_nodeVersion":"18.16.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-neNRHKLGljf3d7eyzlkbUAVPR+mYK/hnT9zzOe9TuhWzsdhvNSV5pMkI2j6PLq9ifwJ2go0TYTN96NpFPkXZZg==","shasum":"30119e83eb186492e3eec72f164d9731f80b77c0","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.8.tgz","fileCount":2,"unpackedSize":4651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsrN/ikJRys4migj6vXJsmhYCxkarYZzwA1Q0kp/v5eQIhANtZyoE1Gt41CdbmP/Zf9Q+F6ULsUpYgx/VdmeM4LuM8"}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.8_1686213992196_0.6936382855315597"},"_hasShrinkwrap":false},"1.0.9":{"name":"@542.digital/tencent-video-player","engines":{"node":">=18.0.0"},"version":"1.0.9","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"},"./dist/styles.css":{"import":"./dist/style.css","require":"./dist/style.css"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite","prepare":"husky install","prepare-commit":"npx commitlint --edit ${1}","lint":"prettier . --check --ignore-unknown","lint:fix":"prettier . --write --ignore-unknown","pre-commit":"lint-staged"},"devDependencies":{"@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@rollup/plugin-typescript":"11.1.1","@semantic-release/changelog":"6.0.3","@semantic-release/git":"10.0.1","@semantic-release/gitlab":"12.0.1","@semantic-release/npm":"10.0.3","@types/node":"20.2.0","husky":"8.0.0","lint-staged":"13.2.2","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","semantic-release":"21.0.2","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.9","vite-plugin-progress":"0.0.7"},"lint-staged":{"**/*":"prettier . --write --ignore-unknown"},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"husky":{"hooks":{"commit-msg":"npx commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"4a64720e6a90aa6a9fd1da6bc40531413ff425d1","description":"This package provides a wrapper around the Tencent TCPlayer library, making it easy to incorporate a feature-rich video player into your JavaScript or TypeScript application.","_id":"@542.digital/tencent-video-player@1.0.9","_nodeVersion":"18.16.0","_npmVersion":"9.7.1","dist":{"integrity":"sha512-4hjroWiibxgU03gisUU18anfoQJLM6IMYObHMDLtUsceS/A8TpinycBo2tY7a3bTDFBKz78F8NldounmGuWLJA==","shasum":"d5b3aab82d5160ffdb7784cc7c2eaadd90c11435","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.9.tgz","fileCount":3,"unpackedSize":6687,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg/4QEJ/sc4Q/2yVO4UsK+v3TS26EhzUpEs23yqrPFcwIhAMgowvFlML9UTtdhBK4G08idu299bqIfVvipVDYOKgR8"}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.9_1686294156776_0.573965338871929"},"_hasShrinkwrap":false},"1.0.10":{"name":"@542.digital/tencent-video-player","engines":{"node":">=18.0.0"},"version":"1.0.10","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"},"./dist/styles.css":{"import":"./dist/style.css","require":"./dist/style.css"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite","prepare":"npx husky install","prepare-commit":"npx commitlint --edit ${1}","lint":"prettier . --check --ignore-unknown","lint:fix":"prettier . --write --ignore-unknown","pre-commit":"lint-staged"},"devDependencies":{"@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@rollup/plugin-typescript":"11.1.1","@semantic-release/changelog":"6.0.3","@semantic-release/git":"10.0.1","@semantic-release/gitlab":"12.0.1","@semantic-release/npm":"10.0.3","@types/node":"20.2.0","husky":"8.0.0","lint-staged":"13.2.2","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","semantic-release":"21.0.2","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.9","vite-plugin-progress":"0.0.7"},"lint-staged":{"**/*":"prettier . --write --ignore-unknown"},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"husky":{"hooks":{"commit-msg":"npx commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"886856f6f1fd34b5ee8206c53dcdb532bc7a66a4","description":"This package provides a wrapper around the Tencent TCPlayer library, making it easy to incorporate a feature-rich video player into your JavaScript or TypeScript application.","_id":"@542.digital/tencent-video-player@1.0.10","_nodeVersion":"18.16.0","_npmVersion":"9.7.1","dist":{"integrity":"sha512-Uk+kHf2hXKIJqxEXbeEGxYz+IxiP2KvuM3Y+F3gNjK0g03i4oDlycqPPIl15TzoGrzy6svj7SqkkZRC2tWjBBw==","shasum":"f18b449aa9ed3865afe751b4d0c4beae224e6f9f","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.10.tgz","fileCount":3,"unpackedSize":6693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdnb+kpLB5N0qMslOjpbqIKA8NoOmiP950gUZPtPBSFQIhAM6u39vckXRP8maLde2vejZH8K8m8yDlPosdy3LRzjsx"}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.10_1686297965189_0.08362529449745404"},"_hasShrinkwrap":false},"1.0.11":{"name":"@542.digital/tencent-video-player","engines":{"node":">=18.0.0"},"version":"1.0.11","exports":{".":{"import":"./dist/main.js","require":"./dist/main.cjs.js"},"./dist/styles.css":{"import":"./dist/style.css","require":"./dist/style.css"}},"main":"./dist/main.cjs.js","module":"./dist/main.js","typings":"./dist/main.d.ts","type":"module","scripts":{"build":"tsc && vite build","build:watch":"tsc && vite build --watch","dev":"vite","prepare":"npx husky install","prepare-commit":"npx commitlint --edit ${1}","lint":"prettier . --check --ignore-unknown","lint:fix":"prettier . --write --ignore-unknown","pre-commit":"lint-staged"},"devDependencies":{"@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@rollup/plugin-typescript":"11.1.1","@semantic-release/changelog":"6.0.3","@semantic-release/git":"10.0.1","@semantic-release/gitlab":"12.0.1","@semantic-release/npm":"10.0.3","@types/node":"20.2.0","husky":"8.0.0","lint-staged":"13.2.2","prettier":"2.8.8","rollup-plugin-typescript-paths":"1.4.0","semantic-release":"21.0.2","tslib":"2.5.1","typescript":"5.0.4","vite":"4.3.9","vite-plugin-progress":"0.0.7"},"lint-staged":{"**/*":"prettier . --write --ignore-unknown"},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"husky":{"hooks":{"commit-msg":"npx commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"2b7b9efd3a0a6957a97365ab252d5f0757b84ff0","description":"This package provides a wrapper around the Tencent TCPlayer library, making it easy to incorporate a feature-rich video player into your JavaScript or TypeScript application.","_id":"@542.digital/tencent-video-player@1.0.11","_nodeVersion":"18.16.0","_npmVersion":"9.7.1","dist":{"integrity":"sha512-e60WVZ80rGOmKVHsZCBaWELjfZBSrlwyZGjseysdusL2+0nv4TP9u8JcGtz2zHswSkp2BPcPBpFcWHOqkeu0/Q==","shasum":"ba1ce05de38970db33333b06afab5ff9254ce7c2","tarball":"https://registry.npmjs.org/@542.digital/tencent-video-player/-/tencent-video-player-1.0.11.tgz","fileCount":3,"unpackedSize":6693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwgnsALGAz6oV0ONt9xL/Ot9w5NCaVYRekfZecJwQqaAiEAw0J4dBmhu2z2gwfYr4CAbjtuoKKaU/BG6cWLX+uXqzQ="}]},"_npmUser":{"name":"bendx","email":"harry@542.digital"},"directories":{},"maintainers":[{"name":"bendx","email":"harry@542.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tencent-video-player_1.0.11_1686299998292_0.47882886827025595"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-18T12:27:17.587Z","1.0.0":"2023-05-18T12:27:17.856Z","modified":"2023-08-22T11:43:16.755Z","1.0.1":"2023-05-18T12:32:30.528Z","1.0.2":"2023-05-18T12:45:35.563Z","1.0.3":"2023-05-18T12:51:29.462Z","1.0.4":"2023-05-18T12:52:44.873Z","1.0.5":"2023-05-25T11:40:50.784Z","1.0.6":"2023-05-25T12:06:16.761Z","1.0.7":"2023-05-25T12:06:35.861Z","1.0.8":"2023-06-08T08:46:32.371Z","1.0.9":"2023-06-09T07:02:36.913Z","1.0.10":"2023-06-09T08:06:05.378Z","1.0.11":"2023-06-09T08:39:58.440Z"},"maintainers":[{"email":"tobi@542.digital","name":"tobia"},{"email":"harry@542.digital","name":"bendx"}],"description":"This package provides a wrapper around the Tencent TCPlayer library, making it easy to incorporate a feature-rich video player into your JavaScript or TypeScript application.","readme":"# @542.digital/tencent-video-player\n\nThis package provides a wrapper around the Tencent TCPlayer library, making it easy to incorporate a feature-rich video player into your JavaScript or TypeScript application.\n\nBump for a deploy\nBump for a deploy\n\n## Installation\n\n```bash\nnpm install @542.digital/tencent-video-player\nOR\nyarn add @542.digital/tencent-video-player\n```\n\n## Usage\n\n```typescript jsx\nimport { VideoPlayer } from \"@542.digital/tencent-video-player\";\n\n// Create a new player instance with your options\nconst player = new VideoPlayer(options);\n\n// Add the player to your HTML\n<audio id=\"player-container-id\"></audio>;\n\nplayer.init(\"player-container-id\", window.TCPlayer);\n```\n\n## API\n\n`constructor(options: PlayerOptions)`\n\n- Description: Creates a new VideoPlayer instance.\n- Parameters:\n  - options: The options for the video player (PlayerOptions).\n- Returns: A new `VideoPlayer` instance.\n\n`init(elementId: string)`\n\n- Description: Adds the video player to the DOM inside the specified element.\n- Parameters:\n  - elementId: The ID of the HTML Video element in which to insert the video player (string).\n    - **Must be a valid HTML Video element.**\n  - player: The TCPlayer instance to use (TCPlayer).\n    - **Optional.** If not provided, a new TCPlayer instance will be created.\n- Returns: `void`\n\n`play()`\n\n- Description: Starts or resumes video playback.\n- Parameters: None\n- Returns: `void`\n\n`getPercentageOfVideo()`\n\n- Description: Returns the percentage of the video that has been played.\n- Parameters: None\n- Returns: The percentage of the video that has been played (`string`).\n\n`on(eventType: PlayerEventType, callback: Function)`\n\n- Description: Adds an event listener to the video player.\n- Parameters:\n  - eventType: The type of the event (PlayerEventType). [All event types here](https://www.tencentcloud.com/document/product/266/39105#events).\n  - callback: The function to call when the event occurs (Function).\n- Returns: `void`\n\nExamples\n\n```typescript jsx\n// Create a new player\nconst options = {\n  appID: \"your-app-id\",\n  fileID: \"your-file-id\",\n  psign: \"your-psign\",\n  width: \"640\",\n  height: \"360\",\n  // ... other options\n};\nconst player = new VideoPlayer(options);\n<video id=\"player-container-id\"></video>;\n// Add the player to your HTML\nplayer.init(\"player-container-id\", TCPlayer);\n\n// Play the video\nplayer.play();\n\n// Log the percentage of the video that has been played every second\nsetInterval(() => {\n  console.log(player.getPercentageOfVideo());\n}, 1000);\n\n// Listen for the 'play' event\nplayer.on(\"play\", () => {\n  console.log(\"Video playback started\");\n});\n\nplayer.on(\"timeupdate\", () => {\n  console.log(player.getPercentageOfVideo());\n});\n```\n\n## License\n\nThis package is licensed under the MIT License - see the LICENSE.md file for details.\n\n## Contributing\n\nPlease read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use SemVer for versioning. For the versions available, see the tags on this repository.\n","readmeFilename":"README.md"}