Viewing a single comment thread. View all comments

5

selver wrote

I made a really lightweight one a while ago (replace youtube.com with sfyt.ca, example) so I could watch stuff on youtube without spoilers (no related vids, seekbar, comments, etc.). Does anyone know how they bypass country blocks, and age restrictions?

1

64WqwCbVQnRhGau wrote

Do you have the source code?

2

selver wrote (edited )

Link

When you open the index page, you just add "?v=zoFJFDl5s1Q" to the end of the link, where you put your youtube video id. When I had it set up on sfyt.ca, I would just change youtube.com?v=videoid to sfyt.ca?v=videoid.

It's really bare bones though and is really only useful if you need to avoid seekbars & related videos for some reason.

2

64WqwCbVQnRhGau wrote

Could you consider licensing it? I think I might try to build something from this.

2

selver wrote

Oh just take it, it's easy enough to replicate. It would've just sat on my harddrive otherwise. The video part is really just the sfyt.js and a few lines in index.html, the rest is just some bootstrap formatting.

1

jadedctrl wrote

It doesn't-- as far as I can tell, the JS just embeds the video in your browser.
The "best" real way I can think of doing is someone hosting a server in an unblocked country, maybe using VPN(s) or different servers for different sorts of blockage, fetch the video on the server/stream it from YT to webserver to client... It's really stupid and roundabout, and would be no negligable burden for the server-host, but it'd work.