ps-videoplayer

3.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ps-videoplayer

Weekly Downloads

1

Version

3.0.2

License

ISC

Unpacked Size

19.1 kB

Total Files

4

Last publish

Collaborators

  • programmersschool