gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] How to pass flash variable to gnash


From: strk
Subject: Re: [Gnash-dev] How to pass flash variable to gnash
Date: Sun, 3 Jun 2007 09:00:28 +0200

On Sun, Jun 03, 2007 at 07:00:37AM +0100, Martin Guy wrote:
> 2007/6/3, Herman Schultz <address@hidden>:
> >I am able to compile gnash on ubuntu.
> >When i run it with a swf file with a argument like this:
> >./gui/gnash ~/src/flash/player2.swf -P video_id=3
> 
> Hi
>   "gnash --help" says:
> 
>        -P <param>  Set parameter (ie. "FlashVars=A=1&b=2")
> 
> Maybe that's the syntax you need; I guess from that that the
> "parameters" are gnash configuration parameters, not Flash variables,
> and that "FlashVars=" is some special one to do what you want, but I
> am just guessing. Give it a try! :)

Yes, -P is for gnash parameters. It is based on the <embed> tag, which
passes parameters to the plugin. We only support the FlashVars parameter
so far, but many movies also pass quality,size, movie url etc. etc.

--strk;




reply via email to

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