If they do have JS available, then embedSWF can be used to "dynamically
publish", and it has a version detect and inline auto-update for users. If
they have at least 6.0.65, but not the version you want them to have, they
can be prompted to update their player inline, right inside your page, in
which case at the completion the installer will re-open the window to your
page.
So, basically, I think the only part that can't be handled directly by
swfobject's built in capabilities is if they have no JS *and* an
insufficient flash player version.
One thought is that you could have basic static HTML content (like a message
that says, "you need to update flash, click here to do it") defaulted to
showing on the page right above or below where your flash content should
show (in other words, inside the noscript tag), and so in the case of them
not having the correct version of flash, instead of you trying to have your
swf tell the page to do something (relying on javascript apparently to do
the getURL redirect), just have your SWF tell itself to be blank and display
nothing. The user will then *only* see the static HTML message instructing
them that there is flash content they cannot see and that they need to click
an HTML link to go somewhere to update.
Hope that helps jog some thinking on how to solve this for you.
--Kyle
--------------------------------------------------
From: "BenNy" <ben.c...@gmail.com>
Sent: Thursday, July 17, 2008 4:54 AM
To: "SWFObject" <swfo...@googlegroups.com>
Subject: Old flash player and Javascript disabled and Firefox 3!
>
> Ok so a nice one here that I am wondering if anyone has come across or
> indeed has a solution to. (I have been working on it for a while now)
>
> So in firefox 3 I have an old version of flash (WIN 6,0,79,0) and I
> also have decided to turn javascript off. I have a simple getURL
> within an if statement in my actionscript that will redirect to a page
> if the flash version is present.
>
> playerVersion = System.capabilities.version;
>
> if ( playerVersion == "WIN 6,0,79,0")
> {
> getURL("http://www.blah.com");
> }
>
> But with Javascript off it doesnt want to know - Javascript on it
> redirects! The above process with javascript off works in all other
> browsers!! (when did firefox become the bad guy)
>
> I am as you can see trying to make the whole swfobject and flash embed/
> detection thing as degradable and unobtrusive as possible but have hit
> this issue with firefox 3. The main aim is so that if people arrive at
> a site I have made with javascript off and a version of flash below AS
> 3.0 then rather than supplying them with a message triggered by the
> fact that javascript is off saying "sorry you have either turned js
> off or have an old version of flash" I actually let them update. This
> also means if people arrive at my site with the correct flash version
> but js off then they can still view the flash - rather than being told
> they must turn js on to view the flash movie!
>
> Anyone help or have the same issue?
> >
>
As far as your as1 code failing, have you tried adding the allowscript
access parameter to "all" or "samedomain"? This param (or lack thereof) can
cause links etc to fail to run. Make sure you are testing on a live web
server too (not just your local file system).
Also, with your detection script, you will want to split the string into an
array using split(",") and then read the minor revision number. Any flash 6
player >=65 can use express install.
Aran
Your mileage may vary depending on how complicated your SWF content is. My
solution was meant to be a generic approach to displaying SWF content (and
upgrade messages if applicable) under the different pretenses you describe,
but it may not work depending on exactly what SWF content you have in there.
I am fairly certain that firefox3-flash is still able to self-detect its
version (unless there's a corrupt plugin install), even without javascript.
The real question is what can a SWF which detects that the version is
insufficient do with itself. I wouldn't be surprised if browsers required
javascript for a SWF to be able to do a "getURL" call, so that is clearly
not a fail-safe option if you're trying to target non-JS users. The only
thing I could think of that a SWF can guarantee to do itself is hide/unload
itself. And if the SWF was published with wmode-transparent, that *should*
show through content that was placed behind it. If not, then I have no
other thoughts on how to accomplish what you're going for.
--Kyle
--------------------------------------------------
From: "BenNy" <ben.c...@gmail.com>
Sent: Friday, July 18, 2008 10:06 AM
To: "SWFObject" <swfo...@googlegroups.com>
Subject: Re: Old flash player and Javascript disabled and Firefox 3!
>
> and also wmode is sketchy in firefox 3 with flv button presses and