Your documentation says:" The filter can also be used to pass flashvars parameters to a flash file, for example, to run a flash audio player."

Can you explain how to do this? I can't find where to add options to the Flash ffilter.

Comments

Stuart Greenfield’s picture

Try this on my site (it's a response to someone who was trying to get the 1pixelout player working.

To pass flashvars via the filter you simply write

[flash|nid=nn|flashvars=flashvars_string]

e.g., it might look something like

[flash|nid=27|flashvars=track=music.mp3&loop=true]

Note that the next version of flashnode will let you add flashvars directly to a node (so you can combine the swf and the flashvars in one entry). In the current release you need to create a "placeholder" node, and then refer to it with a filter in a different node. In this case set the "parent" node as unpublished - it then won't appear on your site, but you can refer to the movie that it holds.

Hope this helps!

Stuart Greenfield’s picture

PS - I probably ought to start thinking about writing some documentation for flashnode. The current documentation is patchy and was more written as notes to myself on how to use it, but the time has probably come to move on to something a little more substantial and user-friendly!

Stuart Greenfield’s picture

Status: Active » Closed (fixed)

As there hasn't been a follow up post I am assuming this issue is closed.

Documentation for flashnode is part of 5.x-2.x development and will follow shortly.