Hacker News new | ask | show | jobs
by TekMol 2109 days ago
Is it in line with YouTube's TOS to embed them like this? Without displaying the video gui? It also seems to somehow supress the ads?
2 comments

Asking the same questions, and some more:

I like the idea, and the app looks cool. I just wish there was a way to just get the audio streams from these channels and have the video constantly looping be embedded into the app or something.

The reason why I don't stay tuned to the YT channels is exactly because of ads, and I don't like my bandwidth being consumed by video when I'm not watching anything.

> The reason why I don't stay tuned to the YT channels is exactly because of ads

This is why God gave us ad blockers :)

I'm curious - are there good adblockers today that can block YouTube ads? I vaguely remember uBlock Origin facing the problem of Google serving ads from the same domains/addresses as the actual video, making adblocking on YouTube virtually impossible.
I use uBlock Origin on Firefox and it seems to work fine for blocking YouTube ads (to the point where I frequently forget YouTube has ads until I make the mistake of trying to access it on a browser lacking an ad-blocker, lol).
uBlock Origin (even with default block lists) + Sponsorblock is what I use for a fully ad-free YouTube experience. Sponsorblock is a crowd-sourced native sponsor-content timeskipper. For medium to large channels it works like a charm. I highly recommend this setup.
I mean, that's standard fare these days, but going on YT with an ad blocker just to ensure a smooth, immersive music listening experience seems so... roundabout.

Also, I prefer to keep the ad blockers off when I'm on the site just to support those who I want to support, and I'm not on it for most of the time.

I had to implement something similar to this a few years ago. I scoured the ToS to make sure I wasn't doing anything wrong by removing the GUI. IIRC it was totally fine as long as you still link to the youtube video.

As for ads -- I don't remember how we dealt with those. I don't think embeds show the pre-roll ads, only mid-video ads. Since this is a streaming video I assume it doesn't have those.

How did you remove the GUI?
We used the Youtube API to load the video -- I think their was multiple things we did but you can specifically request no controls be shown: https://developers.google.com/youtube/player_parameters#cont...

I was going to link the site I used it on, but it looks like since I worked there they switched to Youtube's controls rather than the custom ones I implemented; not sure why.