ATV-Bilibili-demo
ATV-Bilibili-demo copied to clipboard
BiliBili Client Demo for Apple TV (tvOS)
想跟大佬申请加一个 ”我的收藏” tab 等大佬有时间时 先谢谢大佬
如题
官方的弹幕渲染好像是描边,项目里是阴影,以及weight也有些细微差异 感恩开源,下班后有时间我把项目拉下来研究,先提个issue记录下
国区的app能正常投屏,本地网络之类的设置也打开了
个人爱好修改了几个页面,看是否可以合入 1. 修改了 collection items的布局和圆角,参考youtube 2. 添加一个 5s 悬停不动 展示 3. 修改详情页面大图展示 4. 修改了logo和桌面图片(可不用) 代码见附件
如果是自然结束播放,会触发 `AVPlayerItemDidPlayToEndTime` 事件,并最终走到自定义的 `playDidEnd` 方法,靠 VideoNextProvider 配置好正确的下一集资源并播放。 如果在快要到结束的10s内,按下快进10s按键,此时不会触发 `AVPlayerItemDidPlayToEndTime` 事件,最终结果是影片重播当前播放资源。 感觉现在下一集的实现有点hacky,切换到 AVKit 相关的内置方案后应该可以解决这个问题。
The current VC inheritance chain is VideoPlayerViewController -> CommonPlayerViewController -> AVPlayerViewController. But Apple's AVKit [documentation](https://developer.apple.com/documentation/avkit/avplayerviewcontroller) states that "The framework doesn’t support subclassing AVPlayerViewController." > But AVKit is written by ObjectiveC,...
稳定复现,大概下拉到第15/16行就会闪退
安装教程讨论
或者您能不能上架TestFlight呀,谢谢您。