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

网页端跳转PotPlayer播放器的链接拼接错误,导致无法播放 #5974

Closed
4 tasks done
Kosette opened this issue Jan 30, 2024 · 6 comments
Closed
4 tasks done
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@Kosette
Copy link

Kosette commented Jan 30, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.30.0

Driver used / 使用的存储驱动

AliyundriveOpen

Describe the bug / 问题描述

image
第二个PotPlayer图标对应的链接应当是potplayer://http://<url>,现在是potplayer://http//<url>。遗漏了HTTP协议后面的冒号:,导致播放器调用后识别为错误连接,无法正常播放。

Reproduction / 复现链接

任意视频下方的链接

Config / 配置

任意配置

Logs / 日志

No response

@Kosette Kosette added the bug Something isn't working label Jan 30, 2024
Copy link

welcome bot commented Jan 30, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@bin16
Copy link

bin16 commented Feb 3, 2024

The second colon in potplayer://https://xxx is removed by Firefox (v122) when jumping to potplayer. When you inspect that <a> tag in alist, it is potplayer://https://xxx but not potplayer://https//xxx in href attribute, alist is right.

Just found this: https://stackoverflow.com/questions/77886374/firefox-122-0-extensions-chrome-scripting-executescript-removes-colon

potplayer:https://xxx without the two slash will navigate you to potplayer successfully, however the url can not be read by PotPlayer. It should have removed the potplayer: to play the video:

图片

Firefox or PotPlayer should fix this I guess.

Chrome (v121) is good.

@bin16
Copy link

bin16 commented Feb 3, 2024

whatwg/url#815

@Kosette
Copy link
Author

Kosette commented Feb 3, 2024

Firefox or PotPlayer should fix this I guess.

Chrome (v121) is good.

You are right. Chrome/Edge works fine.

https://bugzilla.mozilla.org/show_bug.cgi?id=1876731

As the status been marked invalid, i'm not sure if Firefox will fix it.

@xhofe xhofe added the invalid This doesn't seem right label Feb 6, 2024
Copy link

github-actions bot commented Feb 6, 2024

Hello @Kosette, your issue is invalid and will be closed.
你好 @Kosette,你的issue无效,将被关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants