Thanks.
I tried this:
./gui/gnash ~/src/flash/player2.swf -P FlashVars=video_id=3&t=134
and i only get this:

NetConnection: /get_video?video_id=3&t=undefined


But only 1 parameter 'video_id' get passed, but the other one 't' does not.

Can you please tell me if this is support in gnash?

Thank you.

On 6/3/07, strk <[EMAIL PROTECTED]> wrote:

On Sun, Jun 03, 2007 at 07:00:37AM +0100, Martin Guy wrote:
> 2007/6/3, Herman Schultz <[EMAIL PROTECTED]>:
> >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;

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to