Search…

X3 Photo Gallery Support Forums

Search…
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

flashvar - autostart slideshow

30 Jan 2011, 09:26

Hi, I was wondering how to autostart slideshow with flashvar, what parameter to use?
I have tried using various ways, without success. Is this possible or not?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: flashvar - autostart slideshow

30 Jan 2011, 21:45

Flahvar? Why don't you simply change the autostart value in the config? Both of them will set the value globally anyway ...

If you want autostart enabled for only a specific folder, then you can sue folder parameters.
Code
image.slideshow.autostart=true
https://www.photo.gallery/documentation/folder-parameters/
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: flashvar - autostart slideshow

31 Jan 2011, 04:00

mjau-mjau wrote:Flahvar? Why don't you simply change the autostart value in the config? Both of them will set the value globally anyway ...

If you want autostart enabled for only a specific folder, then you can sue folder parameters.
Code
image.slideshow.autostart=true
https://www.photo.gallery/documentation/folder-parameters/
Hi and thanks for the reply, that works through the admin, but what I'm trying is embedding the imagevue into wordpress.
Here is the code I'm using:
Code
[kml_flashembed publishmethod="dynamic" fversion="10.0.0" replaceId="gallery" movie="http://portfolio.grimur.net/iv-includes/imagevue2.swf" width="100%" height="400" targetclass="flash" quality="best" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" allownetworking="all"  fvars="mainmenu=false&largecontrols=false&startpath=/files/Nature/&maincontrols=false&scale=fitstage&thumbnailscroller=false&imagebuttons=false&rightclick=false&globalshadow=false&autostart=true"]
<p><a href="http://adobe.com/go/getflashplayer">Get Adobe Flash...</a></p>
[/kml_flashembed]
I'm using the kimili flash embed plugin, everything works except autostarting the slideshow, is this maybe not possible?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: flashvar - autostart slideshow

31 Jan 2011, 04:50

If you open the file iv-includes/include/config.xml, you can find the node:
Code
<url_params type="array" separator="," description="Sets a group of parameters from the config that may be set from url parameters">globalpath, theme, contentfolder, startpath, startmode, language, maincontrols, stylesheet</url_params>
Add "autostart", save, and re-upload. You should now be able to use autostart from flashvars ...
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: flashvar - autostart slideshow

31 Jan 2011, 05:22

mjau-mjau wrote:If you open the file iv-includes/include/config.xml, you can find the node:
Code
<url_params type="array" separator="," description="Sets a group of parameters from the config that may be set from url parameters">globalpath, theme, contentfolder, startpath, startmode, language, maincontrols, stylesheet</url_params>
Add "autostart", save, and re-upload. You should now be able to use autostart from flashvars ...
I've done that, but still does not work, is it correct like this "autostart=true" or should there be something more or else?

Sorry added it in the wrong place, I'll give it a try. Sorry
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: flashvar - autostart slideshow

31 Jan 2011, 09:32

grimurnet wrote:
mjau-mjau wrote:If you open the file iv-includes/include/config.xml, you can find the node:
Code
<url_params type="array" separator="," description="Sets a group of parameters from the config that may be set from url parameters">globalpath, theme, contentfolder, startpath, startmode, language, maincontrols, stylesheet</url_params>
Add "autostart", save, and re-upload. You should now be able to use autostart from flashvars ...
I've done that, but still does not work, is it correct like this "autostart=true" or should there be something more or else?

Sorry added it in the wrong place, I'll give it a try. Sorry
But it also doesn't work, nothing changes :-(
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: flashvar - autostart slideshow

31 Jan 2011, 22:27

Sorry, URL vars can only control items in the config that have unique names, and I forgot that "autostart" is used also for audioplayer ...

There may be a "cheeky" workaround for this, by simply deleting this line in the same XML file:
Code
<autostart type="boolean" description="Sets the audioplayer to play when gallery starts">true</autostart>
Other than this, I think you are required to either set autostart globally, or set it on a per-folder basis in parameters.

I think we will add global parameters in the next release, so that you can set any theme/config setting throuh flashvars per gallery instance.
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: flashvar - autostart slideshow

01 Feb 2011, 04:10

mjau-mjau wrote:If you open the file iv-includes/include/config.xml, you can find the node:
Code
<url_params type="array" separator="," description="Sets a group of parameters from the config that may be set from url parameters">globalpath, theme, contentfolder, startpath, startmode, language, maincontrols, stylesheet</url_params>
Add "autostart", save, and re-upload. You should now be able to use autostart from flashvars ...
That sounds great :-)
I'm embedding it to my wordpress like a slideshow, it looks really good :-) For now I put the folder parameters to start slideshow. But it would be great to have the possability to set the same parameters in the embedding as in folder parameters :-)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: flashvar - autostart slideshow

02 Feb 2011, 01:06

Yes, I have added to list. I am also looking forward to do some cool stuff with Imagevue and Wordpress.
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: flashvar - autostart slideshow

02 Feb 2011, 05:00

mjau-mjau wrote:Yes, I have added to list. I am also looking forward to do some cool stuff with Imagevue and Wordpress.
That sounds great :-) Looking forward to that :lol:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: flashvar - autostart slideshow

19 Apr 2011, 04:38

Just for the record, you can already set parameters on document-level in Imagevue:
https://www.photo.gallery/documentation/folder-parameters/
(scroll down to bottom, "Flashvars in Documents")