News for hackers. Stuff that matters.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by rezonant on Sunday November 28, 2021 @09:59PM (#29375858)
Lovely...

> The removal of in-video ads.

You can pay YouTube for ad-free viewing... not doing so and stripping out the ads is dangerously close to "I just want this for free, so I'll steal it"

> Prevent YouTube from tracking your play/pause/seek activities.

A little bit of a tinfoil hat issue here, but it's fair if this sort of analytics bother you (it doesn't bother me).

> Restore picture-in-picture functionality.

Picture in picture works just fine on Windows and Android without a YouTube Premium account. Is this something specific to iPhone?

> The videos don’t stop playing if you switch to another browser tab.

On mobile, web videos are paused when you switch tabs or apps regardless of the website. Not something YouTube can control, and certainly not something YouTube is intentionally doing (unless you count Google and the decisions Chrome makes, and there is definitely something to that). What YouTube is doing, as I'll elaborate on in the next point, is stopping you from resuming the content after you have switched away from that tab. On all other websites, as long as they do nothing to prevent it, you can resume your video in the background by going to your media controls and hitting the Play button.

On desktop, this is not an issue, whether you have YouTube Premium or not. YouTube does not pause or stop videos when you switch tabs.

> You can choose the audio-only stream to keep the music playing when Safari is in the background.

As I hinted above, the crux of this one is that YouTube has deemed that background playback is a paid feature of YouTube Premium. I think this is silly, but it is their policy. Feel free to work around YouTube's technical restrictions on this topic if you want, but I return to exhibit A, that you can skip the ads and the restrictions if you sign up for YouTube Premium.

In the Flash days, making it use HTML 5 was (afaict) a quality of life change. This extension seems a bit sketchy at best. On the other hand the fact that the entire thing seems to be Apple ecosystem only probably says more about the Apple ecosystem than anything else (as I've said, this is mostly unnecessary on other platforms).

EDIT: PS: I would love if Chrome and the other browsers reversed their decision to auto-pause HTML5 video when you switch tabs or apps on mobile. It just feels like a way to push native mobile apps over web apps for no reason. I understand the risk potential of allowing this on the open web, but I think a permissioning model can work here to reduce the risks.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by wand3r on Sunday November 28, 2021 @10:05PM (#29375901)
>> The removal of in-video ads. > You can pay YouTube for ad-free viewing... not doing so and stripping out the ads is dangerously close to "I just want this for free, so I'll steal it"

I don’t understand this sentiment AT ALL. Google has built an entire business out of scraping and selling other peoples content. YouTube has become the defacto host of virtually ALL VIDEO. So yeah, I would watch a video without ads.

This is the internet. If they send the ad and the video and I use a program to hide the ad but watch the video thats my choice. Its MY computer. If they want to take steps to stop this thats up to them.

Advertising is disgusting honestly and your statement in my opinion is an ice cold take

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by Maxence on Sunday November 28, 2021 @11:42PM (#29376460)
Some people work their ass to make a living and even if ads are annoying, for a lot it is what's keep them moving forward.

Maybe Google makes money by selling other people content but they provide all the infrastructure to allow content creators to have their business first.

Bypassing the ads is hurting mainly content creators, not Google...

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by kortilla on Monday November 29, 2021 @12:16AM (#29376663)
> Bypassing the ads is hurting mainly content creators, not Google...

No, it hurts Google too. Google isn’t some benevolent actor operating youtube at a loss. It’s a cash cow now.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by rezonant on Monday November 29, 2021 @12:54AM (#29376857)
It hurts both. If people support the YT creators they watch on Patreon or in some other way, that's fantastic. But you should support them in some way if you watch and appreciate their content.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by Maxence on Monday November 29, 2021 @01:15AM (#29376949)
I do it, but the point is most of the people don't, they simply watch YouTube.

I'm also a content creator myself, guess what, most of my revenues come form ads, not Patreon.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by freyir on Monday November 29, 2021 @04:27AM (#29377858)
> Advertising is disgusting honestly

Again, they give you the options: subscription model or ad-based model.

This covers the cost of infrastructure, paying creators, and paying developers.

It doesn’t make sense that they or any other company will host and send you video for free at a financial loss to themselves because you’re watching it on “your computer.”

Then again, we live in a world where drugstore makeup needs to be kept behind lock and key, so this shouldn’t be surprising.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by Mordisquitos on Monday November 29, 2021 @04:56AM (#29378017)
> Again, they give you the options: subscription model or ad-based model.

They offer those options, but the fact remains that there is a third option: ad-free no-subscription model.

As a user of the ad-free no-subscription model, I give them two options: internalise the costs of people taking the third option, or spend time and resources trying to make the third option technically impossible.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by Someone on Monday November 29, 2021 @06:24AM (#29378560)
As a user of the ad-free no-subscription model you can’t become their customer. There is no requirement for any business to offer to sell you exactly what you want.

You can’t buy a word processor without non-English dictionaries, buy a fivepack of beer, buy half an apple, etc.

That’s no reason to then find it reasonable to take that, let alone take that for free.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by rezonant on Sunday November 28, 2021 @10:11PM (#29375940)
Completely your choice to bypass it, I just don't agree it's ethical when there is a choice to pay a bit of money instead to not have the ads. I will agree that this does not stop them from gathering your data and that is fair. But just stripping the ads without paying when they give you that choice doesn't seem like an ethical choice.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by kortilla on Monday November 29, 2021 @12:16AM (#29376667)
I close my eyes during the ads. Want to lecture me about how unethical that is? I’m “stealing” from the advertiser now because google will charge them for that view.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by judge2020 on Monday November 29, 2021 @09:51AM (#29380492)
In a way, yes, but both Google and Advertisers know that not every view is going to have a fully captive viewer. It's a spectrum, and where you think the line should be drawn between unethical and ethical behavior is a personal viewpoint.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by aaomidi on Sunday November 28, 2021 @10:46PM (#29376144)
With all the shit google has done i honestly don't care if people are ethical when dealing with them.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by rezonant on Sunday November 28, 2021 @11:20PM (#29376323)
I don't care about Google. I'm more concerned with the creators on YouTube.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by aaomidi on Tuesday November 30, 2021 @12:49PM (#29395072)
Still don't care to be honest.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by defaultname on Sunday November 28, 2021 @10:17PM (#29375970)
> Picture in picture works just fine on Windows and Android without a YouTube Premium account. Is this something specific to iPhone?

Google decided that in YouTube for iOS the feature would be premium only, at least for now. Maybe they feel iOS users are more easily monetized. Who knows. It most certainly isn't a limitation of the platform.

> stripping out the ads is dangerously close to "I just want this for free, so I'll steal it"

I never use YouTube intentionally. The service is a bit of the perfect example of boiling a frog, with one short skippable ad becoming multiple skippable ads becoming multiple unskippable ads becoming multiple unskippable ads plus interstitial ads, on top of the content itself almost always having sleezy "sponsored by" advertising content. It's simply remarkable how what was supposedly the new world that would break us free from the classic television model has somehow gotten so much worse.

That doesn't really address your point, but it is kind of tough to feel too sympathetic. The morality becomes...clouded.

> On the other hand the fact that the entire thing seems to be Apple ecosystem

Google decided to be extra greedy towards iOS users, so users helped solve it. Sounds like you're giving it a thumbs up.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by rezonant on Sunday November 28, 2021 @10:30PM (#29376054)
Yeah I just want to suss out that picture in picture is indeed working just fine for iOS users as it is documented as working by Apple. Do other sites activate PiP reliably? Note that PiP on mobile has always required (stupidly so) that you be in full screen mode prior to activating it. In my own experience, making picture in picture trigger on iOS on my own video apps seems to be fleeting. Can someone on iOS check in on alternative video sites to see if PiP is triggering reliably?

I don't use iOS, if you say YouTube is treating it differently than Android and blocking said feature, that sucks and they should change that for sure. Just seems like there may be problems on Safari/iOS (and the underlying WebKit framework that all or most third party iOS browsers use) more than on other platforms/browsers

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by kergonath on Monday November 29, 2021 @01:28AM (#29377009)
> Yeah I just want to suss out that picture in picture is indeed working just fine for iOS users as it is documented as working by Apple.

It does not. I just re-tried (iPhone XR on the latest version of iOS). If I jump out of Safari I get the PiP video for about half a second and it disappears. It works great with Vinegar, as advertised. Websites that use the standard video tag work as they should as well, from what I have seen.

> I don't use iOS, if you say YouTube is treating it differently than Android and blocking said feature, that sucks and they should change that for sure.

Indeed. And in the meantime I will work around them. And if they block it, I’ll just YouTube-dl stuff ahead of time. And keep laughing when Google devs whine about Safari not supporting Chrome’s HTML extension du jour.

Re:Vinegar: Safari extension that replaces YouTube embeds wi... by acdha on Monday November 29, 2021 @07:18AM (#29378951)
PiP works perfectly everywhere else so I assumed this is like when Google breaks Firefox and slacks on fixing it, where it might not have started as a deliberate attempt but someone intentionally keeps fixing it off of the development schedule.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by Eelongate on Sunday November 28, 2021 @10:01PM (#29375870)
I'm something of a master thief myself; my whole life when commercial breaks started on TV, I changed the channel or turned the TV off.
Re:Vinegar: Safari extension that replaces YouTube embeds wi... by rezonant on Sunday November 28, 2021 @10:15PM (#29375959)
Yeah and I see how this is kind of a modern analog to that, but at least in that case the consumer of the media is making a tradeoff.

Perhaps a better analogy is DVRs and their fast forwarding (or completely automatic) removal of ads. This kind of tech will always be possible and I kind of doubt YouTube will make a loud fuss about it.