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

add "This video contains content from foo, who has blocked it in your country on copyright grounds." message #185

Closed
T4eus opened this issue Sep 25, 2018 · 8 comments

Comments

@T4eus
Copy link

T4eus commented Sep 25, 2018

Is important do add
"This video contains content from foo, who has blocked it in your country on copyright grounds."
message for blocked videos, instance of the generic
"The media could not be loaded, either because the server or network failed or because the format is not supported."

@omarroth
Copy link
Contributor

Currently, if a video is geo-blocked, it'll show the This video is not allowed in your country/This video contains content from message, unless it is able to be proxied by Invidious, in which case it'll show the generic "media could not be loaded", as all the other info on the page is loaded, but the video files are still blocked in the current region. Once the geo-bypass is more consistent I'm planning on proxying the video files as well, so there likely won't be as much of a need for the error message suggested for the player.

@T4eus
Copy link
Author

T4eus commented Sep 28, 2018

I understand your point, but I need something to differ errors, like when I get a block from other kind of source error.

@omarroth
Copy link
Contributor

omarroth commented Sep 29, 2018

For videos that Invidious can't get info for, I see this message:
image

This video for example is only whitelisted in Japan. Invidious is able to get info, but the files themselves are not proxied, so they will return 403. Within the week I'm planning on proxying video files as well, so the user will be able to watch all videos Invidious is able to get info for.

For now though, if you are outside the US and in a region where the video is blocked, I would recommend enabling dash as your preferred quality, since DASH streams are currently the only ones that Invidious proxies, although you will not currently be able to view videos that are blocked in US with DASH.

This is likely a duplicate of #92 and #151.

@T4eus
Copy link
Author

T4eus commented Sep 29, 2018

I would recommend enabling dash as your preferred quality
How I make this?

@omarroth
Copy link
Contributor

If you go to https://invidio.us/preferences, it should look like this:
screenshot_20180929_104928

@T4eus
Copy link
Author

T4eus commented Oct 25, 2018

I can't see this page

@omarroth
Copy link
Contributor

Currently you need to have an account in order to change your preferred quality. If you already have an account, I would be grateful if you could provide more information on the problem.

@omarroth
Copy link
Contributor

There's now a &local=true option that should allow you to view videos that Invidious is able to get info for, which appears to be the problem in this case. You can also set this in your preferences, even if you don't have an account.

Invidious will display the error message if not able to get video links from YouTube, which appears to be the requested functionality, so I'm going to close this.

See also #92.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants