Skip to content

Commit 54e4de8

Browse files
committedJun 14, 2024
first-commit
0 parents  commit 54e4de8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+19491
-0
lines changed
 

‎README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# 修改说明
2+
原作者:京都一只喵
3+
1. 解密 `yzmplayer.js` 文件
4+
2. 修复了视频弹幕非独立的问题
5+
3. 兼容了 PHP7.X,在 PHP7.4 环境测试通过
6+
4. 更新版本号至 v1.2.1
7+
5. 重写了使用说明
8+
9+
# 使用方法
10+
1. 解压到网站根目录
11+
2. 登录 你的域名/dmku 进行配置数据库
12+
3. 修改播放器后台密码 dmku/config.inc.php
13+
4. 登录后台 你的域名/admin 密码为第3步修改的密码
14+
5. 播放器功能可后台设置
15+
16+
# 参数说明(player/index.php)
17+
```
18+
"av":'<?php echo($_GET['av']);?>',//B站av号,用于调用弹幕
19+
"url":"<?php echo($_GET['url']);?>",//视频链接
20+
"id":"<?php echo($_GET['url']);?>",//视频id
21+
"sid":"<?php echo($_GET['sid']);?>",//集数id
22+
"pic":"<?php echo($_GET['pic']);?>",//视频封面
23+
"title":"<?php echo($_GET['name']);?>",//视频标题
24+
"next":"<?php echo($_GET['next']);?>",//下一集链接
25+
"user": '<?php echo($_GET['user']);?>',//用户名
26+
"group": "<?php echo($_GET['group']);?>",//用户组
27+
```
28+
# 请求示例
29+
#### 基本
30+
http://localhost/player/?url=https://cdn.jsdelivr.net/gh/xxx/Video-Bed/Your.Name/playlist.m3u8
31+
32+
#### 高级
33+
除了 url 参数,其他都可以省略
34+
35+
http://localhost/player/?url=https://cdn.jsdelivr.net/gh/xxx/Video-Bed/Your.Name/playlist.m3u8&next=https://cdn.jsdelivr.net/gh/xxx/Video-Bed/Your.Name/playlist.m3u8&sid=1&pic=https://img.xx.com/1.png&user=游客&group=1&name=测试
36+

‎ad.mp4

762 KB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.