A video player built on top of Video.js, compatible with Vanilla JS and React.
npm install @devcircle.space/player
import { VanillaVideoPlayer } from 'videojs-player-package';
const player = new VanillaVideoPlayer('video-element-id', { controls: true });
player.play();
import React from 'react';
import Player from 'videojs-player-package';
const options = { controls: true, autoplay: true };
const App = () => <Player options={options} />;