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-playerUsage
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 lintLicense
MIT © halibegic
Note
This is a closed, private development project.