Search…

X3 Photo Gallery Support Forums

Search…
 
johnallan
Topic Author
Posts: 14
Joined: 23 Jul 2009, 12:13

Example for swf.object where flash doesn't exist?

10 Aug 2009, 14:14

It used to be there was easy code to put in the object reference, which would allow users (cross-platform) to simply click on a 'get flash' icon to install the most recent flash player.

Now I am running into this issue with our new SWFobject implementation of Imagevuex and I can't find a definitive example anywhere.

I see the 'Flash Player Detection kit' from Adobe (whew!), but it only works if flash is already installed but needs to be updated.

Can you please provide a cut-n-paste (as much as possible) best-practice example to implement installing/upgrading flash if it doesn't exist or an upgrade is required?

Thank you.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

11 Aug 2009, 09:53

I beleive if flash doesn't exist Imagevue displays some instructional text.
Just added get flash player to that page, so you'll see it in next release.

Meanwhile you can do it yourself, you will find the text you need in imagevue/index.gallery.phtml

Now it's something like this:
Oops! - This page requires Flash Player and Javascript

Please make sure you have latest Flash Player installed and javascript is enabled in your browser.
» Flash gallery
» Get Flash Player
...
firedev.com
 
johnallan
Topic Author
Posts: 14
Joined: 23 Jul 2009, 12:13

11 Aug 2009, 14:58

pain wrote:I beleive if flash doesn't exist Imagevue displays some instructional text.
Just added get flash player to that page, so you'll see it in next release.

Meanwhile you can do it yourself, you will find the text you need in imagevue/index.gallery.phtml

Now it's something like this:
Oops! - This page requires Flash Player and Javascript

Please make sure you have latest Flash Player installed and javascript is enabled in your browser.
» Flash gallery
» Get Flash Player
...
Would you mind clarifying a bit (line # or context), within index.gallery.phtml, that this code exists? I can't find anything like that in the file.

Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

18 Aug 2009, 10:55

johnallan wrote:Would you mind clarifying a bit (line # or context), within index.gallery.phtml, that this code exists? I can't find anything like that in the file.
Not quite sure how you can not find that text. Have you opened the file imagevue/templates/index.gallery.phtml ?
 
johnallan
Topic Author
Posts: 14
Joined: 23 Jul 2009, 12:13

19 Aug 2009, 19:39

mjau-mjau wrote:
johnallan wrote:Would you mind clarifying a bit (line # or context), within index.gallery.phtml, that this code exists? I can't find anything like that in the file.
Not quite sure how you can not find that text. Have you opened the file imagevue/templates/index.gallery.phtml ?
He said "Meanwhile you can do it yourself, you will find the text you need in imagevue/index.gallery.phtml"

Which I read as: We have done it for the new version correctly and here is an example.
I was saying I don't see any example of handling it within this file. I see the "Oops this page requires javascript" section which is the error, that isn't at all handling the issue of getting Flash. Unless I'm completely misunderstanding.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

20 Aug 2009, 06:27

I mean just add 'Get Flash Player' link in this section. It will be displayed both for users who got javascript disabled and the ones without flash player.
firedev.com