JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24
  • Score
    100M100P100Q80248F
  • License MIT

A React video player library with HLS.js/Dash.js support for VOD and Live streaming

Package Exports

  • @halibegic/react-video-player

Readme

React Video Player

A React video player supporting HLS / Dash protocol for VOD / live streaming.

Installation

npm install @halibegic/react-video-player

Usage

VOD Player

import { VodPlayer } from "@halibegic/react-video-player";

function App() {
  return <VodPlayer url="https://example.com/vod.m3u8" />;
}

Live Player

import { LivePlayer } from "@halibegic/react-video-player";

function App() {
  return <LivePlayer url="https://example.com/live.m3u8" />;
}

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build library
npm run build

# Lint code
npm run lint

License

MIT © halibegic

Note

This is a closed, private development project.