Someone could (I think) write an extension to prefetch Youtube video links, download with youtube-dl to /tmp, and then re-embed the local file when you visit the page. Could be tuned to waste less space or use AWS for quicker download speed.
There's a greasemonkey script that replaces the video with a local player/html5/video plugin: http://isebaro.com/viewtube/?ln=en
I use it with the mpv option and mozplugger. It seems to work quite well.
That sounds unnecessarily complicated. You should be able to write an extension that simply bypasses the Youtube player (possibly looking at the youtube-dl source to figure out how to find the video file itself).
"Bypass the Youtube player" is what I meant, but reasons to use as is: its interface is simple, it's maintained (this is a hack, why trouble yourself when youtube breaks things), and you won't have to read this: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/ext...
Well, if we're going to get our music via 'alternative' methods, I'd just cut to the chase and use What.Cd (or another tracker).
Re:YouTube Red is live
by chimeracoder on Thursday October 29, 2015 @03:26PM
(#10473622)
VLC also plays Youtube videos.
You can either open them with CTRL + N, or just launch it with
$ vlc https://youtube.com/foo/bar/
https://rg3.github.io/youtube-dl/