react-sublime-video

    0.2.5 • Public • Published

    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

    Install

    npm i react-sublime-video

    DownloadsWeekly Downloads

    4,555

    Version

    0.2.5

    License

    MIT

    Last publish

    Collaborators

    • benjycui