@macrow/react-aliplayer
TypeScript icon, indicating that this package has built-in type declarations

0.3.5 • Public • Published

React AliPlayer

React component wrapper for aliplayer.

🏗 安装

# npm 安装
npm install --save @pansy/react-aliplayer

# yarn 安装
yarn add @pansy/react-aliplayer

🔨 使用

import React, { FC } from 'react';
import Player from '@pansy/react-aliplayer';

const Example: FC = () => {
  return (
    <div style={{ height: 500 }}>
      <Player
        source="//vjs.zencdn.net/v/oceans.mp4"
      />
    </div>
  );
};

export default Example;

Readme

Keywords

none

Package Sidebar

Install

npm i @macrow/react-aliplayer

Weekly Downloads

0

Version

0.3.5

License

MIT

Unpacked Size

53.1 kB

Total Files

15

Last publish

Collaborators

  • macrow