Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 560 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 560 Bytes

AwesomeCyberPlayer

封装了cyber-player的视频播放组件

Install

npm i awesome-cyber-player

Usage

import AwesomeCyberPlayer from "awesome-cyber-player";

function App() {
  const url = 'xxx';
  return (
    <AwesomeCyberPlayer
      url={url}
      // 针对需要加密的携带token的视频
      // token={"xxx"}
      // width={"100%"}
      // height={"100%"}
    />
  );
}

License

MIT License (c) 刘善保