3.0.2 • Published 2 years ago
ps-videoplayer v3.0.2
What is this
Get a video player
Installation
npm i ps-videoplayer
import {videoPlayer} from "https://cdn.jsdelivr.net/npm/ps-videoplayer@3.0.2/psVideoPlayer.js"
videoPlayer({src:"url",autoplay:true,mute:true})
Then you can also add css file to html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ps-videoplayer@3.0.2/psVideoPlayer.css">
Options
Video player supports 3 options :
- src - add video source
- autoplay - true | false
- mute - true | false