reactjs-video-player
v0.2.6
Published
### How to use 1. npm install [email protected] 2. import VideoPlayer from 'reactjs-video-player';
Downloads
17
Readme
Using this module
How to use
- npm install [email protected]
- import VideoPlayer from 'reactjs-video-player';
Required properties
- video: the source for the video
- type: the type of video such as 'video/mp4'
- videoWidth: this can any type of measurement such as px, rem and %
- videoHeight: this can any type of measurement such as px, rem and %
Option properties
- trackColor: this will style the video track
Notes:
- Make sure to install version >= 0.2.5, or this module will not work.
- If you would like to style the thumb for the video track you will need to use !important to override the style. For example, on chrome the style would be: input::-webkit-slider-thumb { background: rgb(248, 14, 1) !important; }