1.0.2 • Published 8 months ago

vpfrwp v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Custom Player React

Demo image

Description

Custom video player for react with plyr.js

Installation

npm i vpfrwp

Props

NameDescriptionDefault
posterUrlPoster img urlExample image
videoUrlVideo urlExample video
mainColorMain color#00b3ff
widthWidth500px
heightHeight500px

Usage

import React from "react"
import Player from "vpfrwp"

export default App = () => {
    return(
        <Player videoUrl="to/path/video.mp4" posterUrl="to/path/image.jpg" mainColor="#00b3ff" width="500px" height="500px" />
    )
}
1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago