Skip to content

lsbFlying/awesome-cyber-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) 刘善保

About

视频播放器组件(封装了百度的cyber-player)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published