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

Videos: Fix missing host parameter on playback URLs when local=true #4992

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

SamantazFox
Copy link
Member

In #4850, the host= parameter ceased to be added to videoplayback URLs by default, as it should only be added when the video is proxied through invidious.

This change revealed that some parts of the code didn't properly "proxify" the playback URL (= adding back that host= parameter) when local=true was passed to those endpoints.

Thanks to @Fijxu for raising that problem!

@SamantazFox SamantazFox requested a review from a team as a code owner October 9, 2024 14:23
@SamantazFox SamantazFox requested review from unixfox and removed request for a team October 9, 2024 14:23
@SamantazFox SamantazFox added the in-testing This feature has been deployed and is being tested label Oct 30, 2024
@SamantazFox SamantazFox requested a review from syeopite November 7, 2024 13:03
Copy link

@fpletz fpletz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes playback on my invidious instance.

@syeopite syeopite merged commit 52daafe into iv-org:master Jan 22, 2025
9 checks passed
@Fijxu
Copy link
Contributor

Fijxu commented Jan 22, 2025

Oh it got merged. Did you guys tried livestreams? I had to revert https://github.com/iv-org/invidious/pull/4992/files#diff-8e4c5ae2068b27382f39df8cf4ebcb0a30c6252c91d4fe94cc3f71add850fac3L180-L181 because it didn't work for livestreams. (Don't test on my instance, I recently changed something and livestreams are broken)

I tested it locally with the current standard setup of invidious (tokens and inv_sig_helper), no custom source code nor invidious-companion.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-testing This feature has been deployed and is being tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants