Re:YouTube Red is live
by ics on Thursday October 29, 2015 @03:25PM
(#10473609)
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.
[ Parent
| on HN ]
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...