News for hackers. Stuff that matters.
Re:Dear Google, Apple, Mozilla, and MS: Please End Auto-Play... by morganvachon on Sunday November 13, 2016 @10:05AM (#12943613)
Watching later with youtube-dl is actually the recommended way to do YouTube on OpenBSD; various "OpenBSD as a desktop OS" tutorials mention it, and in practice it works very well. On that particular OS it is due to the lack of a native Flash plugin, but even with YouTube offering most of their videos via HTML5 it actually makes for a better experience to download and then view them. I'd imagine it could even be automated trivially, by calling youtube-dl via a browser plugin, or by writing a script to pass YouTube URLs to with a simple GUI thrown together in FLTK or TCL/TK.

As for the hosts file, a hand-edited file works great, and you don't have to do thousands of entries on your own. You can find some great examples all over the web, then tune them to your own needs, saving a lot of time. For example, there are at least two out there for Windows 10 users to block all communication with Microsoft's servers, avoiding any telemetry and tracking by the OS. If your router is smart enough, you can even upload your hosts file to it to block any device on your network from getting ads and being tracked.

Re:Dear Google, Apple, Mozilla, and MS: Please End Auto-Play... by kalden_ on Tuesday November 15, 2016 @05:48AM (#12957032)
> actually makes for a better experience to download and then view them.

Can you specify how? I was doing this when I didn't have enough RAM for the Youtube player with latest Firefox and it's not what I personally felt. The current player has size options (larger or full-screen), annotations and comments can be disabled (e.g. with Adblock lists). In the end it's always having the video canvas in front of your eyes. Maybe integration with a tiling WM?

> I'd imagine it could even be automated trivially, by calling youtube-dl via a browser plugin, or by writing a script to pass YouTube URLs to with a simple GUI thrown together in FLTK or TCL/TK.

Existing means for VLC integration aren't that bad either.

Re:Dear Google, Apple, Mozilla, and MS: Please End Auto-Play... by morganvachon on Wednesday November 16, 2016 @03:22PM (#12971091)
> Can you specify how?

For me it was because Firefox on OpenBSD, even on a modern, fast system (quad core AMD64 with 8GB RAM), is so slow and stuttery with any streaming video it was too painful. Using youtube-dl and playing it via mplayer worked much better, and you can customize mplayer's controls to mimic YouTube's if you like (though I never bothered).

VLC is another great option, it's designed for streaming so yes that would be a great alternative. I personally don't use VLC on non-Windows OSes except on Haiku.