ViewTube / viewtube

▶️ ViewTube: The open source, privacy-conscious way to enjoy your favorite YouTube content. Docs: https://viewtube.wiki, Status: https://uptime.viewtube.io

Home Page:https://viewtube.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Window is not defined error when playing some videos

jasoncrevier opened this issue · comments

Describe the Bug

Some videos won't play. Instead, the page says "Video Error" and displays an error message: "window is not defined"

Steps to Reproduce the Bug

  1. Go to /watch?v=yc40gS2q7DI (example of video that doesn't play, but there are others -- appears to be random)
  2. See the error

Expected Behaviour

Video should play like normal.

Screenshot/Screen recording

image

Device Info

  • Device: VPS
  • OS: Ubuntu 22.04.3 (running via docker)
  • Browser: Firefox
  • Version: 0.13.0

Update: Tried that URL again today and it works, so it looks like this is an intermittent issue. But still an issue I've seen come up a number of times.

commented

Yeah i forgot to pay for the vpn sorry

Are you able to elaborate on what that means @moisout ?

commented

@jasoncrevier ofcourse! The ViewTube server runs behind a vpn, because google blocks your ip address if you make too many requests. The VPN switches its IP address often enough so it doesn't get blocked.

@moisout got it, thank you! 🙂