react-sublime-video@0.2.5

EXAMPLES

README.md

react-sublime-video

npm package NPM downloads Dependency Status

A sublime video player in React.

Installation

npm install --save react-sublime-video

Usage

import SublimeVideo from 'react-sublime-video;

ReactDOM.render(
  <SublimeVideo autoPlay loop style={style}
    src="https://os.alipayobjects.com/rmsportal/FqkQMyFqNqielOw.mp4"
  />
  , mountNode
);

API

SublimeVideo

The same as native <video />, see: MDN.

SublimeVidoe.Source

The same as native <source />, see: MDN.

Liscense

MIT

Fork me on GitHub