On (17:54 03/01/09), Witold Filipczyk <[email protected]> put forth the proposition: >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.
I've just caught the tail end of this thread since I haven't been on the list very long. I copied all the .js files in smjs to ~/.elinks/ but on youtube I get a message saying my flash player is too old and another saying javascript is turned off. Is there something else I need to do to get this working? I'm using the current-0.13 from git as of today 3rd Jan and didn't specify any extra compile options. > >Witek >_______________________________________________ >elinks-users mailing list >[email protected] >http://linuxfromscratch.org/mailman/listinfo/elinks-users -- Winter is the season in which people try to keep the house as warm as it was in the summer, when they complained about the heat. _______________________________________________ elinks-users mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-users
