Back to Next Js

HLS.js example

examples/with-hls-js/README.md

16.2.51.0 KB
Original Source

HLS.js example

This example shows how to use Next.js along with HLS.js to playback HLS videos in all modern browsers.

Deploy your own

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

bash
npx create-next-app --example with-hls-js with-hls-js-app
bash
yarn create next-app --example with-hls-js with-hls-js-app
bash
pnpm create next-app --example with-hls-js with-hls-js-app

Deploy it to the cloud with Vercel (Documentation).