Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 Player Enhancement #1

Closed
5 of 6 tasks
zacyu opened this issue Sep 15, 2014 · 13 comments
Closed
5 of 6 tasks

HTML5 Player Enhancement #1

zacyu opened this issue Sep 15, 2014 · 13 comments

Comments

@zacyu
Copy link
Collaborator

zacyu commented Sep 15, 2014

TODO:

  • 支持发弹幕
  • 网页全屏/浏览器全屏
  • 修改样式使符合 B 站风格
  • 同步弹幕透明度、音量等设置
  • 分段 mp4 弹幕同步
  • 人工读取 m3u8 问题
@hejiheji001
Copy link

大力支持HTML5事业发展QAQ

@zacyu
Copy link
Collaborator Author

zacyu commented Sep 20, 2014

√ 播放器 B 站样式化 (0a00d48)

@jabbany
Copy link

jabbany commented Sep 22, 2014

大力支持ABPlayerHTML5的二次开发QAQ

@cottonty
Copy link

不知道有没有可能调html5播放器的清晰度?感觉好像没有原来的清楚

@jabbany
Copy link

jabbany commented Sep 23, 2014

@cottonty 主要大概得看视频源有多清晰。。。好像乐视的就都相对挺好。。。

@cottonty
Copy link

能尽快支持全屏就好了啊~~现在用的电脑笔记破,不用html5的话都卡的要死

@cottonty
Copy link

cottonty commented Oct 3, 2014

关于清晰度,好像不光是视频源的关系

b站不是在设置里可以选高清模式么
比如这个:http://www.bilibili.com/video/av685267/
在右边配置里选了高清模式是720p相当清楚,不过换成html5的话就特别不清楚

然后有些视频鼠标放在左下角会出现流畅|高清或原画什么的
比如这个:http://www.bilibili.com/video/av1583092/
现在html5读的是流畅的那个

不知道有没有办法读高清的源?

@jabbany
Copy link

jabbany commented Oct 3, 2014

初步分析,是请求多了 quality=4的字段:
标清地址解析请求:http://interface.bilibili.com/playurl?cid=2405405&player=1&ts=1412313281&sign=a26e8ac4a612b6e42280b1a8551add93
高清地址解析请求:http://interface.bilibili.com/playurl?cid=2405405&player=1&quality=4&ts=1412313305&sign=39694ad85c577ae8c4e62d0d9e03d155

至于其余的就要看 bilibili-helper 怎么实现的地址获取了。

@zacyu
Copy link
Collaborator Author

zacyu commented Oct 6, 2014

@jabbany 感谢建议,我挂国内代理去看一下…因为海外很多视频都直接通过 B 站的 CDN 走最高画质了,所以我没怎么注意这个问题,最近有不少反映 HTML 5 渣画质的。

@jabbany
Copy link

jabbany commented Oct 6, 2014

@zacyu 我也没注意,专门关掉了海外加速测试了一下

@cottonty
Copy link

cottonty commented Oct 6, 2014

还有一个问题,不知道为啥有些外站源的视频没法替换成html5
比如 http://www.bilibili.com/video/av1594812
第一个优土豆源的是替换了,但是没有html5
第二个pptv源的是没法替换


矮油突然发现现在又都可以了。。这是为什么 = =
难道是因为上午这动画刚出的关系么。。

@swordfeng
Copy link

发弹幕的部分
http://interface.bilibili.com/dmpost?cid=[cid]&aid=[aid]&pid=[pageid]
POST参数
rnd=375282529[猜测为随机数]&pool=0&color=16711680[16进制颜色的10进制值]&cid=[cid]&fontsize=25[默认为25]&mode=1[应该是方向]&playTime=68%2E989[单位是秒,%2E是小数点转义]&message=[弹幕内容]&date=2014%2D12%2D16%2017%3A13%3A52[2014-12-16 17:13:52]

@zacyu
Copy link
Collaborator Author

zacyu commented Mar 25, 2017

Feature deprecated. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants