{"_id":"tiktok-video-element","_rev":"5-7e89b283668c10ce1aa912f7ec997baf","name":"tiktok-video-element","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"tiktok-video-element","version":"0.0.1","keywords":["tiktok","video","player","web component","custom element"],"author":{"name":"@muxinc"},"license":"MIT","_id":"tiktok-video-element@0.0.1","maintainers":[{"name":"luwes","email":"me@wesleyluyten.com"}],"homepage":"https://github.com/muxinc/media-elements#readme","bugs":{"url":"https://github.com/muxinc/media-elements/issues"},"dist":{"shasum":"4b9cc51dcbf5e4beca7bcc281945ff83756c94fe","tarball":"https://registry.npmjs.org/tiktok-video-element/-/tiktok-video-element-0.0.1.tgz","fileCount":1,"integrity":"sha512-kAE1OlSMYjsL3yMUm1LcEJPw4bU3AWMKf5fCmbhnCYaTN7j+TsTmez5/KL3ak9vaU+YL7VJwkDWckNtugR4YVQ==","signatures":[{"sig":"MEUCIF20nB29LJMyg6aVIUDyGDERDxlo79gXtCedyS9xf+JgAiEAljXwj/lSe9Oa9BnAjHFSiauORcUa1d1Ocb30SsbzZZY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":778},"main":"./dist/tiktok-video-element.js","type":"module","types":"./dist/tiktok-video-element.d.ts","gitHead":"ee39cbc375aca0cb68e28f561e73ed15652162cb","_npmUser":{"name":"luwes","email":"me@wesleyluyten.com"},"repository":{"url":"git+https://github.com/muxinc/media-elements.git","type":"git","directory":"packages/tiktok-video-element"},"_npmVersion":"10.9.2","description":"A custom element for the TikTok player with an API that matches the `<video>` API","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tiktok-video-element_0.0.1_1752504189435_0.05469833073561481","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"tiktok-video-element","version":"0.1.0","keywords":["tiktok","video","player","web component","custom element"],"author":{"name":"@muxinc"},"license":"MIT","_id":"tiktok-video-element@0.1.0","maintainers":[{"name":"luwes","email":"me@wesleyluyten.com"},{"name":"mux-npmjs","email":"mux-npmjs@mux.com"}],"homepage":"https://github.com/muxinc/tiktok-video-element#readme","bugs":{"url":"https://github.com/muxinc/tiktok-video-element/issues"},"dist":{"shasum":"747fdf60ae2d462cea08bcc05e6d34a86ec7b78c","tarball":"https://registry.npmjs.org/tiktok-video-element/-/tiktok-video-element-0.1.0.tgz","fileCount":10,"integrity":"sha512-PVWUlpDdQ/LPXi7x4/furfD7Xh1L72CgkGCaMsZBIjvxucMGm1DDPJdM9IhWBFfo6tuR4cYVO/v596r6GG/lvQ==","signatures":[{"sig":"MEUCIFNJVZluax1uWufufppeunpKbpVqRjgSIceHHe6RP6iqAiEAr79zFk7Ujw2qEYNCn5kqZLVL5LP5DrguFMMl6oyvr9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tiktok-video-element@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41294},"main":"./dist/tiktok-video-element.js","type":"module","types":"./dist/tiktok-video-element.d.ts","exports":{".":{"types":"./dist/tiktok-video-element.d.ts","import":"./dist/tiktok-video-element.js","default":"./dist/tiktok-video-element.js","require":"./dist/cjs/tiktok-video-element.js"},"./react":{"types":"./dist/react.d.ts","import":"./dist/react.js","default":"./dist/react.js","require":"./dist/cjs/react.js"}},"gitHead":"7501e82f7303543b5c6d685e1bb291e3743d927a","scripts":{"lint":"eslint *.js","test":"wet run","build":"run-s build:*","serve":"wet serve","build:react":"build-react-wrapper"},"_npmUser":{"name":"mux-npmjs","email":"mux-npmjs@mux.com"},"repository":{"url":"git+https://github.com/muxinc/media-elements.git","type":"git","directory":"packages/tiktok-video-element"},"_npmVersion":"10.8.2","description":"Custom element (web component) for the TikTok player.","directories":{},"_nodeVersion":"20.19.3","typesVersions":{"*":{"*":["./dist/tiktok-video-element.d.ts"],"react":["./dist/react.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"wet-run":"^1.2.5","npm-run-all":"^4.1.5","build-react-wrapper":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/tiktok-video-element_0.1.0_1752623188253_0.5283256574346442","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"tiktok-video-element","version":"0.1.1","keywords":["tiktok","video","player","web component","custom element"],"author":{"name":"@muxinc"},"license":"MIT","_id":"tiktok-video-element@0.1.1","maintainers":[{"name":"luwes","email":"me@wesleyluyten.com"},{"name":"mux-npmjs","email":"mux-npmjs@mux.com"}],"homepage":"https://github.com/muxinc/tiktok-video-element#readme","bugs":{"url":"https://github.com/muxinc/tiktok-video-element/issues"},"dist":{"shasum":"dc61819ae89fc55c62ecef86d686a2e8d6b560eb","tarball":"https://registry.npmjs.org/tiktok-video-element/-/tiktok-video-element-0.1.1.tgz","fileCount":10,"integrity":"sha512-BaiVzvNz2UXDKTdSrXzrNf4q6Ecc+/utYUh7zdEu2jzYcJVDoqYbVfUl0bCfMoOeeAqg28vD/yN63Y3E9jOrlA==","signatures":[{"sig":"MEUCIQCmBLYG0+kQOFoLUNsHrDqnyUyCe2eTIgq7dkSi5743LQIgEQhOlHrUUPQKCwdAKdp9YfF673OSDMFJhufZDOwH2A0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tiktok-video-element@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41584},"main":"./dist/tiktok-video-element.js","type":"module","types":"./dist/tiktok-video-element.d.ts","exports":{".":{"types":"./dist/tiktok-video-element.d.ts","import":"./dist/tiktok-video-element.js","default":"./dist/tiktok-video-element.js","require":"./dist/cjs/tiktok-video-element.js"},"./react":{"types":"./dist/react.d.ts","import":"./dist/react.js","default":"./dist/react.js","require":"./dist/cjs/react.js"}},"gitHead":"ccf7ea557e3fb7e461cacc45b17810fbe86b37a5","scripts":{"lint":"eslint *.js","test":"wet run","build":"run-s build:*","serve":"wet serve","build:react":"build-react-wrapper"},"_npmUser":{"name":"mux-npmjs","email":"mux-npmjs@mux.com"},"repository":{"url":"git+https://github.com/muxinc/media-elements.git","type":"git","directory":"packages/tiktok-video-element"},"_npmVersion":"10.8.2","description":"Custom element (web component) for the TikTok player.","directories":{},"_nodeVersion":"20.19.4","typesVersions":{"*":{"*":["./dist/tiktok-video-element.d.ts"],"react":["./dist/react.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"wet-run":"^1.2.5","npm-run-all":"^4.1.5","build-react-wrapper":"^0.2.3"},"_npmOperationalInternal":{"tmp":"tmp/tiktok-video-element_0.1.1_1754657175783_0.47878787976742365","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"tiktok-video-element","version":"0.1.2","description":"Custom element (web component) for the TikTok player.","author":{"name":"@muxinc"},"license":"MIT","homepage":"https://github.com/muxinc/tiktok-video-element#readme","bugs":{"url":"https://github.com/muxinc/tiktok-video-element/issues"},"repository":{"type":"git","url":"git+https://github.com/muxinc/media-elements.git","directory":"packages/tiktok-video-element"},"type":"module","types":"./dist/tiktok-video-element.d.ts","main":"./dist/tiktok-video-element.js","exports":{".":{"types":"./dist/tiktok-video-element.d.ts","import":"./dist/tiktok-video-element.js","require":"./dist/cjs/tiktok-video-element.js","default":"./dist/tiktok-video-element.js"},"./react":{"types":"./dist/react.d.ts","import":"./dist/react.js","require":"./dist/cjs/react.js","default":"./dist/react.js"}},"typesVersions":{"*":{"react":["./dist/react.d.ts"],"*":["./dist/tiktok-video-element.d.ts"]}},"scripts":{"lint":"eslint *.js","test":"wet run","serve":"wet serve","build:react":"build-react-wrapper","build":"run-s build:*"},"devDependencies":{"build-react-wrapper":"^0.2.4","npm-run-all":"^4.1.5","wet-run":"^1.2.5"},"keywords":["tiktok","video","player","web component","custom element"],"_id":"tiktok-video-element@0.1.2","gitHead":"5c518f1bb6cf111b737caa2415293de0abf7b1c8","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-w6TboLm236XJKKiIXIhCbYCnUxbixBbaAoty0etaEAZ/2kHkVIdfZdv2oouMU/HGMsWCHI/VjQ3wU3MJ+s192Q==","shasum":"22c93f4148afb99882fec050ca30c34673155f93","tarball":"https://registry.npmjs.org/tiktok-video-element/-/tiktok-video-element-0.1.2.tgz","fileCount":10,"unpackedSize":41732,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tiktok-video-element@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDGQGbjqJAufZVyLGl8xNL1AjaQwi5/c8DG4XeUdvdy0wIhAMXuw8nCDe3T4/VLU9uzF19jXz3O/nz5vgS/SMon26Rm"}]},"_npmUser":{"name":"mux-npmjs","email":"mux-npmjs@mux.com"},"directories":{},"maintainers":[{"name":"luwes","email":"me@wesleyluyten.com"},{"name":"mux-npmjs","email":"mux-npmjs@mux.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tiktok-video-element_0.1.2_1764086959487_0.15221797798295134"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-14T14:43:09.434Z","modified":"2025-11-25T16:09:20.108Z","0.0.1":"2025-07-14T14:43:09.580Z","0.1.0":"2025-07-15T23:46:28.438Z","0.1.1":"2025-08-08T12:46:15.971Z","0.1.2":"2025-11-25T16:09:19.668Z"},"bugs":{"url":"https://github.com/muxinc/tiktok-video-element/issues"},"author":{"name":"@muxinc"},"license":"MIT","homepage":"https://github.com/muxinc/tiktok-video-element#readme","keywords":["tiktok","video","player","web component","custom element"],"repository":{"type":"git","url":"git+https://github.com/muxinc/media-elements.git","directory":"packages/tiktok-video-element"},"description":"Custom element (web component) for the TikTok player.","maintainers":[{"name":"luwes","email":"me@wesleyluyten.com"},{"name":"mux-npmjs","email":"mux-npmjs@mux.com"}],"readme":"# `<tiktok-video>`\n\n[![NPM Version](https://img.shields.io/npm/v/tiktok-video-element?style=flat-square&color=informational)](https://www.npmjs.com/package/tiktok-video-element) \n[![NPM Downloads](https://img.shields.io/npm/dm/tiktok-video-element?style=flat-square&color=informational&label=npm)](https://www.npmjs.com/package/tiktok-video-element) \n[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/tiktok-video-element?style=flat-square&color=%23FF5627)](https://www.jsdelivr.com/package/npm/tiktok-video-element)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/tiktok-video-element?style=flat-square&color=success&label=gzip)](https://bundlephobia.com/result?p=tiktok-video-element) \n\nA [custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements)\nfor the TikTok player with an API that matches the \n[`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video) API.\n\n- 🏄‍♂️ Compatible [`HTMLMediaElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement) API\n- 🕺 Seamlessly integrates with [Media Chrome](https://github.com/muxinc/media-chrome)\n\n## Example\n\n```html\n<script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/tiktok-video-element@0\"></script>\n<tiktok-video controls src=\"https://www.tiktok.com/@wesbos/video/6718335390845095173\"></tiktok-video>\n```\n\n## Installing\n\n`<tiktok-video>` is packaged as a javascript module (es6) only, which is supported by all evergreen browsers and Node v12+.\n\n### Loading into your HTML using `<script>`\n\nNote the `type=\"module\"`, that's important.\n\n> Modules are always loaded asynchronously by the browser, so it's ok to load them in the head :thumbsup:, and best for registering web components quickly.\n\n```html\n<head>\n  <script type=\"module\" src=\"https://cdn.jsdelivr.net/npm/tiktok-video-element@0\"></script>\n</head>\n```\n\n### Adding to your app via `npm`\n\n```bash\nnpm install tiktok-video-element --save\n```\nOr yarn\n```bash\nyarn add tiktok-video-element\n```\n\nInclude in your app javascript (e.g. src/App.js)\n```js\nimport 'tiktok-video-element';\n```\nThis will register the custom elements with the browser so they can be used as HTML.\n\n\n## Related\n\n- [Media Chrome](https://github.com/muxinc/media-chrome) Your media player's dancing suit. 🕺\n- [`<mux-video>`](https://github.com/muxinc/elements/tree/main/packages/mux-video) A Mux-flavored HTML5 video element w/ hls.js and Mux data builtin.\n- [`<mux-player>`](https://github.com/muxinc/elements/tree/main/packages/mux-player) The official Mux-flavored video player web component.\n- [`<vimeo-video>`](https://github.com/muxinc/media-elements/tree/main/packages/vimeo-video-element) A web component for the Vimeo player.\n- [`<videojs-video>`](https://github.com/muxinc/media-elements/tree/main/packages/videojs-video-element) A web component for Video.js.\n- [`<wistia-video>`](https://github.com/muxinc/media-elements/tree/main/packages/wistia-video-element) A web component for the Wistia player.\n- [`<jwplayer-video>`](https://github.com/muxinc/media-elements/tree/main/packages/jwplayer-video-element) A web component for the JW player.\n- [`<hls-video>`](https://github.com/muxinc/media-elements/tree/main/packages/hls-video-element) A web component for playing HTTP Live Streaming (HLS) videos.\n- [`castable-video`](https://github.com/muxinc/media-elements/tree/main/packages/castable-video) Cast your video element to the big screen with ease!\n","readmeFilename":"README.md"}