没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Lion-player 由 VideoJS 提供支持的开源 React 视频播放器 目录 安装设置 使用 作者 更改日志 许可证安装 该库可通过 npm 注册表获得。 NPM $ npm -i lion-player Yarn $ yarn add lion-player Setup 首先导入库开始使用它。 CommonJS const LionPlayer = require('lion-player'); 或 ES6 import { LionPlayer } from 'lion-player'; LionPlayer 组件需要以下 CSS 来设置样式:使用链接标签 使用 import import 'lion-player/dist/lion-skin.min.css'; 通过 Lion Player 播放视频 import { LionPlayer } from 'lion-player'; const SOURCES = [ { src: 'https://bitmovin-a.akamaihd.net/content/playhouse-vr/m3u8s/105560.m
资源推荐
资源详情
资源评论
收起资源包目录
lion-player-master.zip (24个子文件)
lion-player-master
example
package.json 742B
index.html 331B
tsconfig.json 458B
index.tsx 960B
.gitignore 48B
yarn.lock 500KB
package.json 2KB
.github
workflows
main.yml 834B
test
index.test.tsx 1KB
LICENSE 1KB
src
hooks
usePlayer.tsx 2KB
constants
options.ts 974B
sources.ts 507B
themes
lion.css 12KB
video-js.css 45KB
index.tsx 1KB
types
videojs-hls-quality-selector.d.ts 47B
utils
hotkeys-handler.ts 2KB
.eslintrc.js 1KB
tsconfig.json 582B
.gitignore 41B
README.md 4KB
yarn.lock 342KB
tsdx.config.js 469B
共 24 条
- 1
资源评论
雪地女王
- 粉丝: 96
- 资源: 4601
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功