video-player-simple-js
v1.0.16
Published
A simple video player package for the web.
Downloads
17
Readme
Video Player Package
A simple video player package for the web.
Installation
npm install video-player-simple-js
Usage
import createPlayer from 'video-player-simple-js';
const container = document.getElementById('video-container');
const player = createPlayer("./myvideo.mp4", container, {
controls: true
});
player.play();