0.1.6 • Published 3 years ago

react-custom-videoplayer v0.1.6

Weekly downloads
-
License
GNU General Publi...
Repository
github
Last release
3 years ago

react-custom-videoplayer

Custom React component for video playback

Install

Install using npm install react-custom-videoplayer

Usage

In a React app use the Player component: import { Player } from 'react-custom-videoplayer'

Props

NameDescriptionTypeExample
widthWidth of your playerstringwidth={'600'}
heightHeight of your playerstringheight={'800'}
urlURL of your videostringurl={'https://some.adress/video.mp4'}
panelColorColor of bottom panelstringpanelColor={'#006AB3'}

FullScreen Mode

To turn on and turn off fullscreen double click on videoplayer :)

Example

alt text