News for hackers. Stuff that matters.
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.
Re:YouTube Red is live by Tiksi on Friday October 30, 2015 @02:19AM (#10476378)
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.

Re:YouTube Red is live by gizmo686 on Thursday October 29, 2015 @04:23PM (#10474008)
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).
Re:YouTube Red is live by ics on Thursday October 29, 2015 @04:52PM (#10474192)
"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...