0.1.28 • Published 5 years ago

rat-video v0.1.28

Weekly downloads
7
License
BSD-3-Clause
Repository
github
Last release
5 years ago

rat-video

组件介绍

rat 中的视频播放组件。

npm.io

API

参数说明类型默认值是否必填
autoPlay设置视频自动播放booltrue
src视频地址String

demo

import React from 'react';
import RatVideo from 'rat-video';

class App extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <div>
        <RatVideo 
          src={'https://cloud.video.taobao.com/play/u/2780279213/p/1/e/6/t/1/d/ld/36255062.mp4'}
          autoPlay={true}
          style={{width: 500, height: 500}}
        >
          
        </RatVideo>
      </div>
      )
    }
}
0.1.28

5 years ago

0.1.27

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

6 years ago

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago