Description
next-video is a library for adding video to a Next.js app. It handles the parts that are hard to do by hand: keeping large video files out of your git repository, converting them into web-friendly formats, and streaming them with multiple sizes so playback holds up on slow connections. Videos placed in a /videos folder can be imported and shown with a single Video component, and an init command sets the project up. The built-in player is customizable and accessible, and you can bring your own player instead. The component also creates placeholder posters to avoid layout shift and timeline hover thumbnails for seeking. By default, streaming is provided by Mux, a video API, and you can plug in another video provider. Optional analytics show how often videos are watched. AI captions and subtitles are listed on the site as coming soon. The project is published on npm and developed on GitHub.…
Highlights
- Single Video component for Next.js apps
- Video files kept out of version control
- Adaptive streaming and format conversion
- Customizable built-in player or bring your own
- Placeholder posters and timeline hover thumbnails
- Optional view analytics
Ratings & Reviews
No ratings yet
Be the first to rate Next Video.
People also visit

react-player
A React component for playing a variety of URLs, including file paths, Mux
Lib Jitsi Meet
A low-level JS video API that allows adding a completely custom video experience
StreamingVideoProvider.com
Deliver your videos and live streams worldwide without buffering
Next Video FAQ
What is next-video?
next-video is a library for adding video to a Next.js app. You add a video file to your project, import it, and render it with the Video component. It takes care of storage, conversion and streaming.
Where are the video files stored?
Local videos are transferred outside of your version control system, so large files do not slow down cloning or run into repository storage limits.
Can I use my own video player?
Yes. The built-in player is customizable and accessible, but you can bring your own player instead.
Who streams the videos?
The default provider is Mux. You can also plug in your own video infrastructure provider.
How do I get started?
Run npx -y next-video init, add a video to your /videos folder, and add the Video component to a page. The site also has a video walkthrough and manual configuration docs.
What are the best Next Video alternatives?
Popular alternatives to Next Video include Nextplayer, Lib Jitsi Meet and StreamingVideoProvider.com. See all Next Video alternatives





