Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.04 KB

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