Re: youtube.com in ELinks?

Witold Filipczyk <[email protected]>
Newsgroups gmane.comp.web.elinks.user
Message-ID <20090103165425.GA3826@pldmachine>
On Fri, Jan 02, 2009 at 08:39:19PM +0100, Lars Bjørndal wrote:
> Hello, list, and a happy new year to everyone!
> 
> Thomas Adam <[email protected]> writes:
> 
> > On 19/09/2007, cga2000 <[email protected]> wrote:
> >> I was wondering if there is any way I can cause ELinks to invoke a
> >> media player when the selected link is something like:
> >>
> >> http://www.youtube.com/watch?v=ZbfrL4L5GME
> >
> > Look in:
> >
> > contrib/smjs
> >
> > In the ELinks source tarball (or a GIT clone).  Assuming you compile
> > in spidermonkey support you can use the "youtube.js" file contained
> > therein.
> 
> I've tried that, but I cannot get it working. One of the links I've
> tried, is the link: http://de.youtube.com/watch?v=GWpV7L4YHuU
> 
> I've put the hook.js and youtube.js files into my .elinks directory
> and restarted Elinks (version 0.13-GIT from three days ago) Could the
> problem be that the characters ".de." is preceding youtube.com in the
> link? Or maybe this is not possible at all from a poor console? I'd
> like to use mplayer, if possible. Should that be possible to do?

I added the youtube2.js to the elinks-0.13. It shows a page with a link
instead of the "refresh". In the hooks.js add:
do_file("youtube2.js"); Anyway the ELinks always download the whole file
before playing.

Witek
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.