Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 867 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 867 Bytes

React Video Example

This is a example of responsive video player using ReactJS. Check out the live demo.

Features

  • responsive video resize
  • seek bar with custom time marks
  • video thumbnails on seek bar

Note: Thumbnails are generated simply just in time from video file. No precomputation required. For very large video files and/or slow connections will be of course better to use traditional prerender of thumbnails.

Running

Set the video options in config.js and then run:

npm install
npm start

Point your browser to http://localhost:3000/ and try to resize window.

Basic React and Webpack boilerplate taken from great flux-react-router-example made by Dan Abramov