fix(video): use raw URLs for video player schemes#453
Open
Lanfei wants to merge 1 commit intoOpenListTeam:mainfrom
Open
fix(video): use raw URLs for video player schemes#453Lanfei wants to merge 1 commit intoOpenListTeam:mainfrom
Lanfei wants to merge 1 commit intoOpenListTeam:mainfrom
Conversation
外部播放器跳转链接使用原始地址,避免不支持 302 跳转的播放器(如 IINA)无法正常播放。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
xrgzs
reviewed
Mar 29, 2026
| icon: "potplayer", | ||
| name: "PotPlayer", | ||
| scheme: "potplayer://$durl", | ||
| scheme: "potplayer://$url", |
xrgzs
reviewed
Mar 29, 2026
| icon: "mpv", | ||
| name: "mpv", | ||
| scheme: "mpv://$edurl", | ||
| scheme: "mpv://$eurl", |
Contributor
Author
|
@xrgzs 使用原始地址理论上所有播放器都能支持,使用 302 多跳转一层似乎必要性不大,还是说有什么其它层面的考虑? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 摘要
Background / 背景
Some external players (e.g. IINA) do not follow 302 redirects, causing playback to fail when a download URL is used. Switching to raw URLs allows direct access to the resource.
部分外部播放器(如 IINA)不支持 302 跳转,使用下载 URL 时会导致播放失败。改用原始 URL 可直接访问资源,避免此问题。
Test plan / 测试计划