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
- Go to /watch?v=yc40gS2q7DI (example of video that doesn't play, but there are others -- appears to be random)
- See the error
Expected Behaviour
Video should play like normal.
Screenshot/Screen recording
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.
Yeah i forgot to pay for the vpn sorry
Are you able to elaborate on what that means @moisout ?
@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! 🙂