0.1.0 • Published 6 years ago

mblock-tutorial v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-light-player

react-light-player is a web video player, it is base on video tag, This project was started early 2019, more fun you will get.

Table of Contents

Quick Start

Installation

$ npm install react-light-player

Usage

<Player
    width={640}
    height={360}
    centered={true}
    autoPlay={true}
    src='http://qiniu.sevenyuan.cn/POP_STARS.mp4'
/>

Example

import React, { Component } from 'react';
class App extends Component {
  render() {
    return (
        <Player
            width={640}
            height={360}
            centered={true}
            autoPlay={true}
            src='http://qiniu.sevenyuan.cn/POP_STARS.mp4'
        />
    )
  }
}

Contributing

react-light-player is a free and open source library, and we appreciate any help you're willing to give - whether it's fixing bugs, improving documentation, or suggesting new features. Check out the contributing guide for more!

License

MIT

Performance

image