# Install next-video with npm

A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization. Version 2.8.1 via npm; verified 2026-06-08.

## Install

```sh
sudo av install npm:next-video
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g next-video
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:next-video
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/next-video>
- **Version:** 2.8.1
- **Source summary:** A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.
- **Homepage:** <https://github.com/muxinc/next-video#readme>
- **Repository:** <https://github.com/muxinc/next-video>
- **Upstream docs:** <https://github.com/muxinc/next-video#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/next-video/-/next-video-2.8.1.tgz>
- **Issue tracker:** <https://github.com/muxinc/next-video/issues>
- **Published:** 2026-06-08T19:01:24.963Z
- **Last updated:** 2026-06-08T19:01:24.963Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- next-video (cli)
- next-video (alias)

## Dependencies

- @aws-sdk/client-s3
- @inquirer/prompts
- @mux/mux-node
- @mux/mux-video
- @mux/playback-core
- @next/env
- @paralleldrive/cuid2
- @vercel/blob
- chalk
- chokidar
- dash-video-element
- dotenv
- hls-video-element
- magicast
- media-chrome
- minimatch
- player.style
- resolve
- symlink-dir
- undici
- yargs

## Build dependencies

- @types/dotenv-flow
- @types/node
- @types/react
- @types/resolve
- @types/yargs
- c8
- esbuild
- glob
- next
- react
- react-dom
- react-test-renderer
- tsx
- typescript

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.8.1
- Package-manager updated: 2026-06-08
- Local data: ok
- Upstream repository: https://github.com/muxinc/next-video
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for next-video. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Canary: 0.11.1-canary.2, Latest: 2.8.1
- **Version Count:** 81
- **Maintainers:** luwes, mmcc, mux-npmjs
- **Author:** Mux Lab
- **Publisher:** GitHub Actions
- **Peer Dependencies:** @types/react, next, react, react-dom
- **Integrity:** sha512-PII5Oa/XgncTWr8XfQ0xk3qBoMsWcbFIAm1mgd7/cZ4MA7mPyh1cpsfnmNYQEjRyekKqgt8XN5WXiiNhDBRXdQ==
- **Shasum:** 389cd400f38b5c807b8017e566c91cae445f746a
- **Unpacked Size:** 533,699
- **File Count:** 0
- **Created At:** 2022-05-29T17:38:45.608Z
- **Latest Published At:** 2026-06-08T19:01:24.963Z
- **Modified At:** 2026-06-08T19:01:25.218Z


## Related links

- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [next-sitemap](https://www.automicvault.com/pkg/npm/next-sitemap/) - Package names and metadata indicate a similar tool family. Shared terms: env, next, next-js, nextjs, react.
- [decocms](https://www.automicvault.com/pkg/npm/decocms/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, aws-sdk, client, client-s3, core.
- [gatsby-plugin-s3](https://www.automicvault.com/pkg/npm/gatsby-plugin-s3/) - Local package facts share a topical domain. Shared terms: aws, aws-sdk, chalk, inquirer, minimatch.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
