1

Currently, using a method described here, I am able to stream YouTube videos without using X windows/Flash. My primary text-based browser is elinks, and you can call external programs and pass to it your currently selected link by adding this to your elinks.conf file:

set document.uri_passing.youtube = 'ytmplay.sh %c'
bind 'main' 'F10' = 'link-external-command'

This currently works, but unlike calling `ytmplay.sh YOUTUBE_URL' directly from the console, I cannot actually control mplayer, and can only stop the video if I force-terminate mplayer. Does anyone know how I can maintain control of mplayer when calling it through elinks external commands/URI passing?

Thor
  • 45,082
  • 11
  • 119
  • 130
mkosler
  • 322
  • 2
  • 7
  • 2
    `elinks` seems to background `mplayer` and so you have no way to communicate with it, I don't know any easy way to work around this sort of patching `elinks`. Switching to [`youtube-viewer`](http://code.google.com/p/trizen/) might be better option. – Thor Aug 04 '12 at 14:06

0 Answers0