{"_id":"react-video-kit","_rev":"4-ccbc174004b242035964c70e6cc328c6","name":"react-video-kit","dist-tags":{"latest":"4.0.0"},"versions":{"2.0.0":{"name":"react-video-kit","version":"2.0.0","keywords":["react","video","player","ios","component","ui","ui-component","ui-kit","ui-library","react-video-kit","react-video","react-ios-video","video component","video kit"],"author":{"name":"Mohamed Achaq","email":"hi@achaq.dev"},"license":"Apache-2.0","_id":"react-video-kit@2.0.0","maintainers":[{"name":"chaqchase","email":"hi@chaqchase.com"}],"homepage":"https://video-kit.chaqchase.com","bugs":{"url":"https://github.com/chaqchase/video-kit/issues"},"dist":{"shasum":"cac871c4bcac6b1d5b9e96060f27469c4e24b722","tarball":"https://registry.npmjs.org/react-video-kit/-/react-video-kit-2.0.0.tgz","fileCount":8,"integrity":"sha512-0CaVs+jNfH23ORL8OjS86hcO6eRgBkSPyLV22ZEOAeOEuXrQ20K8Z/8iwPIAxHr9v82aJCba6Abq8ooGK/tZdw==","signatures":[{"sig":"MEUCIBJ9MEltssQ6VNZflNpUMNQrJaamxrkj8y8r5LRSYR2qAiEA6ir2HBCXD0WVh78m6d4PlxBMIl8m46VG1fGpzEUaUZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":168696},"main":"./dist/index.js","_from":"file:react-video-kit-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","check-types":"tsc --noEmit"},"_npmUser":{"name":"chaqchase","email":"hi@chaqchase.com"},"_resolved":"/tmp/4caa689c49e5013ba283c01638c2cf2c/react-video-kit-2.0.0.tgz","_integrity":"sha512-0CaVs+jNfH23ORL8OjS86hcO6eRgBkSPyLV22ZEOAeOEuXrQ20K8Z/8iwPIAxHr9v82aJCba6Abq8ooGK/tZdw==","repository":{"url":"git+https://github.com/chaqchase/video-kit.git","type":"git"},"_npmVersion":"10.8.2","description":"A video component for react inspired by the ios video player","directories":{},"_nodeVersion":"18.20.8","dependencies":{"clsx":"^2.0.0","react":"18.2.0","react-dom":"18.2.0","typescript":"4.9.5","tailwind-merge":"^2.1.0","@radix-ui/react-slider":"^1.1.2","@radix-ui/react-dropdown-menu":"^2.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.2.0","eslint":"^7.32.0","postcss":"^8.4.32","typescript":"^4.9.4","tailwindcss":"^3.3.6","@types/react":"^18.2.45","autoprefixer":"^10.4.16","framer-motion":"^10.16.16","@types/react-dom":"18.2.7","@repo/typescript-config":"0.0.0"},"peerDependencies":{"react":">=18","react-dom":">=18","framer-motion":">=10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-video-kit_2.0.0_1761577180439_0.9143851301637691","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"react-video-kit","version":"3.0.0","keywords":["react","video","player","ios","component","ui","ui-component","ui-kit","ui-library","react-video-kit","react-video","react-ios-video","video component","video kit"],"author":{"name":"Mohamed Achaq","email":"hi@achaq.dev"},"license":"Apache-2.0","_id":"react-video-kit@3.0.0","maintainers":[{"name":"chaqchase","email":"hi@chaqchase.com"}],"homepage":"https://react-vide-kit.chaqchase.com","bugs":{"url":"https://github.com/chaqchase/video-kit/issues"},"dist":{"shasum":"d80d7b740e76df430c03008676ba10f124f0717b","tarball":"https://registry.npmjs.org/react-video-kit/-/react-video-kit-3.0.0.tgz","fileCount":8,"integrity":"sha512-IrzcfJRMJ4+dUECDKMkM8yZ0TKVyYKFtucH6PUv2SeQajijfk9SQfT5eVcEMCq+Kixm+q3Oqx0jJw+f33trohw==","signatures":[{"sig":"MEUCIAmZIO1my9kXpn/rzWR136JWDZqrzBXBXL/7YhvfKvUTAiEA5UYZUB7gqoVf8VIG9tJo9WRzxpCv7P7epfwTba0MaWE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238242},"main":"./dist/index.js","_from":"file:react-video-kit-3.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"pnpm build:css && pnpm dev:watch","build":"pnpm build:css && tsup","build:css":"tailwindcss -i ./src/index.css -o ./src/styles.css --minify","dev:watch":"concurrently \"tailwindcss -i ./src/index.css -o ./src/styles.css --watch\" \"tsup --watch\"","check-types":"tsc --noEmit"},"_npmUser":{"name":"chaqchase","email":"hi@chaqchase.com"},"_resolved":"/tmp/0e9225f3420bf4b561837254e79a496b/react-video-kit-3.0.0.tgz","_integrity":"sha512-IrzcfJRMJ4+dUECDKMkM8yZ0TKVyYKFtucH6PUv2SeQajijfk9SQfT5eVcEMCq+Kixm+q3Oqx0jJw+f33trohw==","repository":{"url":"git+https://github.com/chaqchase/video-kit.git","type":"git"},"_npmVersion":"10.8.2","description":"A video component for react inspired by the ios video player","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.8","dependencies":{"clsx":"^2.0.0","tailwind-merge":"^2.1.0","@radix-ui/react-slot":"^1.1.0","@radix-ui/react-slider":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.2.0","eslint":"^7.32.0","motion":"^12.23.24","postcss":"^8.4.32","react-dom":"^18.2.0","typescript":"^4.9.4","tailwindcss":"^3.3.6","@types/react":"^18.2.45","autoprefixer":"^10.4.16","concurrently":"^8.2.2","@types/react-dom":"18.2.7","@repo/typescript-config":"0.0.0"},"peerDependencies":{"react":">=18","motion":">=10.0.0","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-video-kit_3.0.0_1761598239051_0.3600498615204071","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"react-video-kit","version":"3.0.1","keywords":["react","video","player","ios","component","ui","ui-component","ui-kit","ui-library","react-video-kit","react-video","react-ios-video","video component","video kit"],"author":"Mohamed Achaq <hi@achaq.dev>","license":"Apache-2.0","_id":"react-video-kit@3.0.1","maintainers":[{"name":"chaqchase","email":"hi@chaqchase.com"}],"homepage":"https://react-vide-kit.chaqchase.com","bugs":{"url":"https://github.com/chaqchase/react-video/issues"},"dist":{"shasum":"3f53f7cbfe79c9b2fcb245978d03023c9ac5c866","tarball":"https://registry.npmjs.org/react-video-kit/-/react-video-kit-3.0.1.tgz","fileCount":7,"integrity":"sha512-S3lP/LPQ8xKHPqi2aW+M8Jix5v/rybJl1oe4VG3RN5eb0rBLaj6XuxFL/H0JAo2zvjLTf5VyeiZlLba9DoWu+A==","signatures":[{"sig":"MEUCID9T/n7KkhbMcbVgGv4/IT8FNnRm2WXIUleA5MXSala4AiEAhnLEs7SEZwBi4CGlWRjh50Y2Tft717kxptSJl+sgImw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFIjy1la9npIzTt+YD0KKI4E4fYfgLfP12T1T2J4We03AiBmgmnAo7mIQ7o6ZXfJ/1k24OHyPqdN/qTqKaIYfEIh8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183457},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"scripts":{"dev":"pnpm build:css && pnpm dev:watch","build":"pnpm build:css && tsup","build:css":"tailwindcss -i ./src/index.css -o ./src/styles.css --minify","dev:watch":"concurrently \"tailwindcss -i ./src/index.css -o ./src/styles.css --watch\" \"tsup --watch\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"chaqchase","email":"hi@chaqchase.com"},"repository":{"url":"git+https://github.com/chaqchase/react-video.git","type":"git","directory":"packages/core"},"description":"A video component for react inspired by the ios video player","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.14.1","dependencies":{"clsx":"^2.0.0","tailwind-merge":"^2.1.0","@radix-ui/react-slot":"^1.1.0","@radix-ui/react-slider":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","react":"^18.2.0","motion":"^12.23.24","postcss":"^8.4.32","react-dom":"^18.2.0","typescript":"6.0.3","tailwindcss":"^3.3.6","@types/react":"^18.2.45","autoprefixer":"^10.4.16","concurrently":"^8.2.2","@types/react-dom":"18.2.7","@repo/typescript-config":"0.0.0"},"peerDependencies":{"react":">=18","motion":">=11.11.12","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/react-video-kit_3.0.1_1795448432730_0.3006610477223557","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"_id":"react-video-kit@4.0.0","bugs":{"url":"https://github.com/chaqchase/react-video/issues"},"dist":{"shasum":"b68462d43e22f238a4a987aeb56e761127768706","tarball":"https://registry.npmjs.org/react-video-kit/-/react-video-kit-4.0.0.tgz","fileCount":249,"integrity":"sha512-+xd6c4x64gczJ0X46N2vzkf67JThO1KbJhekJcdMtKM7fiMZX4C4hQQnJsORX1I+w0AXRX/IHh6/1yvv5lt0ng==","signatures":[{"sig":"MEQCIGqT6wZttTdDOWVaX3y0KCjgPtxE/MJ1kP7MtvEEtdTKAiADzJ7BF9euYaVrrZVPmutJh8zVXxV5WDWYwkH50RXyeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA3vMRVFOXdeRYfcX96sjuGbIjL2khjIRXmz2PN/vsWvAiBPkLMVa5e0gHP9xzaWG0KyQxBdmG05U9rvGrw8lTP9RA=="}],"unpackedSize":678151},"name":"react-video-kit","type":"module","author":{"name":"Mohamed Achaq","email":"hi@achaq.dev"},"exports":{".":{"types":"./dist/ui/index.d.ts","default":"./dist/ui/index.js"},"./ads":{"types":"./dist/plugins/ads/index.d.ts","default":"./dist/plugins/ads/index.js"},"./drm":{"types":"./dist/plugins/drm/index.d.ts","default":"./dist/plugins/drm/index.js"},"./fit":{"types":"./dist/plugins/fit/index.d.ts","default":"./dist/plugins/fit/index.js"},"./hls":{"types":"./dist/plugins/hls/index.d.ts","default":"./dist/plugins/hls/index.js"},"./pip":{"types":"./dist/plugins/pip/index.d.ts","default":"./dist/plugins/pip/index.js"},"./core":{"types":"./dist/core/index.d.ts","default":"./dist/core/index.js"},"./dash":{"types":"./dist/plugins/dash/index.d.ts","default":"./dist/plugins/dash/index.js"},"./i18n":{"types":"./dist/plugins/i18n/index.d.ts","default":"./dist/plugins/i18n/index.js"},"./idle":{"types":"./dist/plugins/idle/index.d.ts","default":"./dist/plugins/idle/index.js"},"./info":{"types":"./dist/plugins/info/index.d.ts","default":"./dist/plugins/info/index.js"},"./live":{"types":"./dist/plugins/live/index.d.ts","default":"./dist/plugins/live/index.js"},"./loop":{"types":"./dist/plugins/loop/index.d.ts","default":"./dist/plugins/loop/index.js"},"./skip":{"types":"./dist/plugins/skip/index.d.ts","default":"./dist/plugins/skip/index.js"},"./share":{"types":"./dist/plugins/share/index.d.ts","default":"./dist/plugins/share/index.js"},"./speed":{"types":"./dist/plugins/speed/index.d.ts","default":"./dist/plugins/speed/index.js"},"./stats":{"types":"./dist/plugins/stats/index.d.ts","default":"./dist/plugins/stats/index.js"},"./compat":{"types":"./dist/compat/index.d.ts","default":"./dist/compat/index.js"},"./errors":{"types":"./dist/core/errors.d.ts","default":"./dist/core/errors.js"},"./player":{"types":"./dist/player/index.d.ts","default":"./dist/player/index.js"},"./ads/ima":{"types":"./dist/plugins/ads/ima.d.ts","default":"./dist/plugins/ads/ima.js"},"./airplay":{"types":"./dist/plugins/airplay/index.d.ts","default":"./dist/plugins/airplay/index.js"},"./ambient":{"types":"./dist/plugins/ambient/index.d.ts","default":"./dist/plugins/ambient/index.js"},"./hotkeys":{"types":"./dist/plugins/hotkeys/index.d.ts","default":"./dist/plugins/hotkeys/index.js"},"./i18n/ar":{"types":"./dist/plugins/i18n/ar.d.ts","default":"./dist/plugins/i18n/ar.js"},"./i18n/es":{"types":"./dist/plugins/i18n/es.d.ts","default":"./dist/plugins/i18n/es.js"},"./i18n/fr":{"types":"./dist/plugins/i18n/fr.d.ts","default":"./dist/plugins/i18n/fr.js"},"./quality":{"types":"./dist/plugins/quality/index.d.ts","default":"./dist/plugins/quality/index.js"},"./ads/vast":{"types":"./dist/plugins/ads/vast.d.ts","default":"./dist/plugins/ads/vast.js"},"./autoplay":{"types":"./dist/plugins/autoplay/index.d.ts","default":"./dist/plugins/autoplay/index.js"},"./captions":{"types":"./dist/plugins/captions/index.d.ts","default":"./dist/plugins/captions/index.js"},"./chapters":{"types":"./dist/plugins/chapters/index.d.ts","default":"./dist/plugins/chapters/index.js"},"./episodes":{"types":"./dist/plugins/episodes/index.d.ts","default":"./dist/plugins/episodes/index.js"},"./gestures":{"types":"./dist/plugins/gestures/index.d.ts","default":"./dist/plugins/gestures/index.js"},"./playlist":{"types":"./dist/plugins/playlist/index.d.ts","default":"./dist/plugins/playlist/index.js"},"./recovery":{"types":"./dist/plugins/recovery/index.d.ts","default":"./dist/plugins/recovery/index.js"},"./themes/*":"./dist/themes/*","./analytics":{"types":"./dist/plugins/analytics/index.d.ts","default":"./dist/plugins/analytics/index.js"},"./shortcuts":{"types":"./dist/plugins/shortcuts/index.d.ts","default":"./dist/plugins/shortcuts/index.js"},"./chromecast":{"types":"./dist/plugins/chromecast/index.d.ts","default":"./dist/plugins/chromecast/index.js"},"./fullscreen":{"types":"./dist/plugins/fullscreen/index.d.ts","default":"./dist/plugins/fullscreen/index.js"},"./primitives":{"types":"./dist/react/index.d.ts","default":"./dist/react/index.js"},"./screenshot":{"types":"./dist/plugins/screenshot/index.d.ts","default":"./dist/plugins/screenshot/index.js"},"./styles.css":"./dist/styles.css","./thumbnails":{"types":"./dist/plugins/thumbnails/index.d.ts","default":"./dist/plugins/thumbnails/index.js"},"./transcript":{"types":"./dist/plugins/transcript/index.d.ts","default":"./dist/plugins/transcript/index.js"},"./mini-player":{"types":"./dist/plugins/mini-player/index.d.ts","default":"./dist/plugins/mini-player/index.js"},"./orientation":{"types":"./dist/plugins/orientation/index.d.ts","default":"./dist/plugins/orientation/index.js"},"./persistence":{"types":"./dist/plugins/persistence/index.d.ts","default":"./dist/plugins/persistence/index.js"},"./audio-tracks":{"types":"./dist/plugins/audio-tracks/index.d.ts","default":"./dist/plugins/audio-tracks/index.js"},"./package.json":"./package.json","./media-session":{"types":"./dist/plugins/media-session/index.d.ts","default":"./dist/plugins/media-session/index.js"},"./analytics/google":{"types":"./dist/plugins/analytics/google.d.ts","default":"./dist/plugins/analytics/google.js"}},"gitHead":"0dee7e1681b9f3186e7674e8e2a56d5c66b14742","license":"Apache-2.0","scripts":{"dev":"tsdown --watch src --no-clean --on-success \"node scripts/build-css.mjs\"","lint":"eslint .","size":"size-limit","test":"vitest run","build":"tsdown && node scripts/build-css.mjs && node scripts/check-dist.mjs","lint:pkg":"node scripts/check-package.mjs","test:ssr":"node scripts/check-ssr.mjs","typecheck":"tsc --noEmit","test:react18":"REACT_VERSION=18 vitest run","test:treeshake":"node scripts/check-treeshake.mjs"},"version":"4.0.0","_npmUser":{"name":"chaqchase","email":"hi@chaqchase.com"},"homepage":"https://react-vide-kit.chaqchase.com","keywords":["react","video","player","video-player","hls","dash","headless","plugins","ios","react-video-kit"],"repository":{"url":"git+https://github.com/chaqchase/react-video.git","type":"git","directory":"packages/core"},"_npmVersion":"11.11.0","description":"A composable, plugin-first React video player inspired by the iOS player","directories":{},"maintainers":[{"name":"chaqchase","email":"hi@chaqchase.com"}],"sideEffects":["**/*.css"],"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.3.1","eslint":"9.39.5","rollup":"4.67.5","tsdown":"0.23.5","vitest":"5.1.0","esbuild":"0.28.2","publint":"0.3.25","webpack":"5.112.2","happy-dom":"21.0.4","react-dom":"19.3.1","size-limit":"14.3.0","typescript":"6.0.3","@types/node":"^24.0.0","@types/react":"^19.3.0","lightningcss":"1.33.0","@repo/react-18":"workspace:*","@types/react-dom":"^19.3.0","@repo/eslint-config":"workspace:*","@testing-library/dom":"^10.4.0","@arethetypeswrong/cli":"0.18.5","@testing-library/react":"16.3.3","@repo/typescript-config":"workspace:*","@rollup/plugin-node-resolve":"16.0.3","@size-limit/preset-small-lib":"14.3.0"},"peerDependencies":{"react":"^18.2.0 || ^19.0.0","dashjs":"^5.0.0","hls.js":"^1.7.0","react-dom":"^18.2.0 || ^19.0.0"},"peerDependenciesMeta":{"dashjs":{"optional":true},"hls.js":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-video-kit_4.0.0_1795449300031_0.3055329568781803"}}},"time":{"created":"2025-10-27T14:59:40.369Z","modified":"2026-11-23T15:55:00.325Z","2.0.0":"2025-10-27T14:59:40.641Z","3.0.0":"2025-10-27T20:50:39.247Z","3.0.1":"2026-11-23T15:40:32.878Z","4.0.0":"2026-11-23T15:55:00.136Z"},"bugs":{"url":"https://github.com/chaqchase/react-video/issues"},"author":{"name":"Mohamed Achaq","email":"hi@achaq.dev"},"license":"Apache-2.0","homepage":"https://react-vide-kit.chaqchase.com","keywords":["react","video","player","video-player","hls","dash","headless","plugins","ios","react-video-kit"],"repository":{"url":"git+https://github.com/chaqchase/react-video.git","type":"git","directory":"packages/core"},"description":"A composable, plugin-first React video player inspired by the iOS player","maintainers":[{"name":"chaqchase","email":"hi@chaqchase.com"}],"readme":"# react-video-kit\n\nA React video player you compose from a small kernel and the plugins you pick.\n\n- **Costs what you use.** About 5 KB for the kernel and 17 KB for a complete player (brotli, without React). Each plugin is its own import, and unused ones add nothing.\n- **Playback doesn't render React.** Time never enters the store, so a playing video causes no React commits.\n- **HLS, DASH, live, casting, ads, DRM, captions, playlists, and more,** all as plugins, with engines loaded only when a source needs them.\n- **Compose at any level:** a ready-made player, styled parts, or headless primitives.\n- **Accessible:** real range inputs, keyboard menus, RTL, and reduced motion.\n\n> Coming from version 3? Read the [migration guide](https://react-video-kit.chaqchase.com/docs/v4/migration). Version 3 stays on the `v3` branch and its own docs.\n\n## Install\n\n```bash\nnpm install react-video-kit\n```\n\n## Use it\n\n```tsx\n\"use client\";\n\nimport { defaultPlugins, VideoPlayer } from \"react-video-kit/player\";\nimport \"react-video-kit/styles.css\";\n\nconst plugins = defaultPlugins();\n\nexport function Player() {\n  return <VideoPlayer src=\"/video.mp4\" poster=\"/poster.jpg\" plugins={plugins} />;\n}\n```\n\nTo stream HLS, add the plugin and its engine:\n\n```bash\nnpm install hls.js\n```\n\n```tsx\nimport { hls } from \"react-video-kit/hls\";\n\nconst plugins = [hls(), ...defaultPlugins()];\n\n<VideoPlayer src=\"/stream.m3u8\" plugins={plugins} />;\n```\n\n## Docs\n\nDocs, the plugin gallery, and a playground are on the [website](https://react-vide-kit.chaqchase.com).\n\n- [Getting started](https://react-vide-kit.chaqchase.com/docs/v4/getting-started)\n- [Plugins](https://react-vide-kit.chaqchase.com/docs/v4/plugins)\n- [Migrating from version 3](https://react-vide-kit.chaqchase.com/docs/v4/migration)\n- [Version 3 docs](https://react-vide-kit.chaqchase.com/docs/v3)\n\n## What's been tested\n\nBrowser tests play real video on Chromium, Firefox, and WebKit. Unit tests run on React 18 and 19. iPhone and iPad, AirPlay, Chromecast, Widevine, FairPlay, and the Google IMA SDK haven't been tested on real devices or with real services yet. Please open an issue if you try them.\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/chaqchase/react-video/blob/main/CONTRIBUTING.md).\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}