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

关于插件在非网页端的问题 #4

Open
jiangyeyilinzhou opened this issue Sep 1, 2024 · 4 comments
Open

关于插件在非网页端的问题 #4

jiangyeyilinzhou opened this issue Sep 1, 2024 · 4 comments

Comments

@jiangyeyilinzhou
Copy link

前言:谢谢,之前那个不能用了,你这个cdn可以!!
问题:我知道这与你无关,但请问你知道在ios系统中的senplayer里面无法使用弹幕插件怎么办吗?senplayer貌似是无法使用插件。请问你有解决方法吗,如果有可以给我留言 这十分感谢!!此外我也向senplayer制作人发出了提问,谢谢你的回答
Preface: Thank you, the previous one can't be used anymore, your CDN can do it!!
Question: I know this has nothing to do with you, but do you know what to do if you can't use the barrage plugin in senplayer on the iOS system? Senplayer seems to be unable to use plugins. May I ask if you have a solution? If so, please leave me a message. Thank you very much!! In addition, I also sent a question to the senplayer producer. Thank you for your answer

@chen3861229
Copy link
Owner

chen3861229 commented Sep 2, 2024

多谢问题描述得详细,不过有些遗憾,该脚本的实现依赖了几个条件

1.嵌入目标的客户端必须是 web 环境的,因为上游依赖库是weizhenye/Danmaku,实现原理依赖 html 的 video 标签,虽然使用 initH5VideoAdapter 适配器转换至虚拟video标签行为和事件解决了上游依赖的 video 标签强依赖,但是仍然依赖 web 环境,因为适配器使用的 emby 官方事件只在 web 环境客户端中存在, 所以此点已经排除了官方客户端的老 TV 版,版本号是以g结尾的那一版,那一版环境是安卓kotlin的 native 代码

2.new UI 使用到了官方 emby 客户端 web 环境中的很多方法和变量,不过这点仅是操控体验上的,核心在于 1 上,就算移除了所有的操控相关代码,并不影响 1 中已经显示出来的弹幕,仅是无法调节参数而已

综上,不局限于senplayer,所有无 web 环境的客户端,包括官方客户端的老 TV 版,都是无法使用的,即便拥有 web 环境,但是没有 emby 官方客户端的那些 web 方法和变量的也是不行

9channel#64

@jiangyeyilinzhou
Copy link
Author

多谢问题描述得详细,不过有些令人期待,该脚本的实现依赖了几个条件

1.嵌入目标的客户端必须是web环境的,因为上游依赖库是weizhenye/Danmaku,实现原理依赖html的视频标签,虽然使用 initH5VideoAdapter 适配器转换至虚拟video标签行为和事件解决了上游依赖的视频标签强依赖,但是仍然依赖web环境,因为担忧使用emby官方事件只在web环境客户端中存在,所以此点已经排除了官方客户端的老 TV 版,版本号g结尾的那一版,那一版环境是安卓kotlin的原生代码

2.new UI 使用到了官方 emby 客户端 web 环境中的很多方法和控件,不过这只是操控体验上的,核心位于 1 上,甚至去掉了所有的操控相关代码,并不影响 1 中已经显示的弹幕,仅是无法调节参数上限

综上,不限于senplayer,所有无网络环境的客户端,包括官方客户端的老 TV 版,都是无法使用的,甚至拥有网络环境,但是没有嵌入官方客户端的那些网络方法和指标的也无法

9频道#64

多谢,我明白了,那就寄希望于未来吧,麻烦你了。其实目前已经相当不错了,虽然有些b站原创非番剧视频,无法删减或无法定向视频链接。如果这个也可以解决,那再好不过了。

@chen3861229
Copy link
Owner

chen3861229 commented Sep 8, 2024

虽然有些b站原创非番剧视频,无法删减或无法定向视频链接

这个因为不是直接调用的视频网站的弹幕获取接口,弹弹Play的接口应该是只包含了番剧、电影、电视剧这些内容的弹幕,之后有时间我看看它能不能返回普通视频的弹幕解析
bc3e879

@jiangyeyilinzhou
Copy link
Author

jiangyeyilinzhou commented Oct 9, 2024 via email

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

No branches or pull requests

2 participants