Embed video in your new or existing nextjs application using next video package.
demo video file availabe in
videos/deploying-next.js-to-vercel.mp4
.
First, clone the Next video demo repository.
git clone https://github.com/officialrajdeepsingh/next-video-demo.git
# or
gh repo clone officialrajdeepsingh/next-video-demo
# change the repository
cd next-video-demo
Install the node.js package using the node package manager.
npm install
# or
yarm install
# or
pnpm install
Lastly, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.