3 ms·
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 th
by ics 11y ago
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.
- gizmo686 11y agoThat 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).
- ics 11y ago"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/extractor/youtube.py https://github.com/rg3/youtube-dl/blob/master/youtube_dl/ext...
- Tiksi 11y agoThere's a greasemonkey script that replaces the video with a local player/html5/video plugin: http://isebaro.com/viewtube/?ln=en http://isebaro.com/viewtube/?ln=en I use it with the mpv option and mozplugger. It seems to work quite well.