stephane-r / holoplay-pwa

Web app using Invidious API for listening Youtube audio source.

Home Page:https://app.holoplay.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployed web pages cannot be accessed in China

zhaolu1206 opened this issue · comments

I really appreciate your support for this project. However, due to the internet censorship in China, even if the project is deployed on a VPS in the United States, accessing the website still requires the use of a VPN. Without a VPN, the website cannot be accessed. Are you asking if this project can automatically proxy access to YouTube?

Hello,

I don't know in detail about the Internet censorship in China.

Currently, the public HoloPlay app is hosted via Vercel, which uses Amazon and therefore, in the US. If the server is located in Europe, would that help ?

Other information to take into account : certain Invidious instances are located in the US. You will need to manually select a server in another region via the settings page.

Also, you can easy host your HoloPlay instance on China server.

EDIT : i've change the server localtion in Europe from vercel dashboard. I don't know if help, but hosting in Europe is good insteed US.

image

I have deployed my website on a VPS in the United States. The current situation is that if I try to access it directly using a network from China, the webpage can be opened, but the page fails to load completely and gets stuck in a loading loop. However, if I use a VPN or other proxy services, there are no issues with accessing the website.
PXL_20230908_103324543
Uploading PXL_20230908_103402289.jpg…

Hi @zhaolu1206

Have you try to restart app ? On app start, random Invidious instance is loaded. Maybe you have an US instance loeaded. It change on every app start.

For now, i see 6 (without onion domain) US instance : https://api.invidious.io/?sort_by=location

image

https://docs.invidious.io/faq/#q-what-data-is-shared-with-youtube

Invidious doesn't use scripts on YouTube. However, it retrieves data directly from YouTube. Therefore, it may have been blocked by Chinese censorship.

Try accessing any instance of Invidious in your browser. You can turn on "Proxy videos" in preferences on Invidious instances. This way, Invidious may become a Proxy and avoid censorship. (piped.video doesn't have this problem because it acts as a proxy.) But if China bans that Invidious instance (or Piped instance), you won't be able to get YouTube data.

Note: YouTube often blocking an instance. No one can watch videos from that instance.