Skip to content

benjycui/react-sublime-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Packages

No packages published

Contributors 3

  •  
  •  
  •