Page 1 of 1

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

Posted: 10 Aug 2009, 14:14
by johnallan
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.

Posted: 11 Aug 2009, 09:53
by Nick
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
...

Posted: 11 Aug 2009, 14:58
by johnallan
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

Posted: 18 Aug 2009, 10:55
by mjau-mjau
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 ?

Posted: 19 Aug 2009, 19:39
by johnallan
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.

Posted: 20 Aug 2009, 06:27
by Nick
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.