This package has been deprecated

Author message:

not maintain

mblock-tutorial

0.1.0 • Public • Published

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][contributing] for more!

MIT

Performance

image

/mblock-tutorial/

    Package Sidebar

    Install

    npm i mblock-tutorial

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    1.22 MB

    Total Files

    3

    Last publish

    Collaborators

    • franki