gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] Textformat URL


From: Benjamin Wolsey
Subject: Re: [Gnash-commit] Textformat URL
Date: Thu, 13 Aug 2009 18:34:17 +0200

> Having the system call the normal firefox -remote 'openurl(...)' will
> only work if there is an existing instance of firefox.  The way that I
> have coded this will open the url even if there is not a running
> instance.  This is why I did not use the -remote call, and why I had
> to do case conversion and editing of target.  If I'm missing
> something, then do let me know.
> 

The thing you're missing is that url arguments don't 'open firefox', but
rather get a URL. What that means depends on the hosting application.
That's what movie_root::getURL was designed for, and already handles in
several cases.

The external call for URLs in the standalone player is up to the user.
It can be set in .gnashrc. The way you've hardcoded it will always call
firefox, even when firefox isn't installed or when it isn't the default
browser, and won't work properly at all when running as a plugin because
the target argument is ignored. Calling movie_root::getURL will
automatically handle the target argument correctly.

If you want a new instance of firefox to open from the standalone, you
should change your own .gnashrc.

bwy

--
The current release of Gnash is 0.8.5
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]