react-sublime-video

A sublime video player in React.

Usage no npm install needed!

<script type="module">
  import reactSublimeVideo from 'https://cdn.skypack.dev/react-sublime-video';
</script>

README

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