Skip to content

makhataibar/react-video.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

React components for Video.js

Installation

yarn add @makhataibar/react-video.js

Usage

import VideoPlayer from '@makhataibar/react-video.js'

const videoJsOptions = {
  autoplay: true,
  
  controls: true,
  sources: [{
    src: '/path/to/video.mp4',
    type: 'video/mp4'
  }]
}

return <VideoPlayer { ...videoJsOptions } />

About

React components for Video.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published