[SWFObject] Flash detection problem (Lacy Garrison)
Anthony Connelly
tjcdesigner at yahoo.com
Tue May 9 17:11:50 PDT 2006
Lacy, that happens to be the same version of IE that I
had trouble with. I couldn't see any examples of
SWFObject like,
http://www.slideshowpro.net/demo/demo_default.php. In
fact, I then noticed that Flash detection was failing
on most sites.
Not sure if this is your problem but here is what I
did:
My Flash uninstaller was not listed in the control
panel software. I simply downloaded the uninstaller
from Adobe ran it, then re-installed. Here is the
link:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
Please let me know if that was the same problem.
--- swfobject-request at lists.deconcept.com wrote:
> Send SWFObject mailing list submissions to
> swfobject at lists.deconcept.com
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> or, via email, send a message with subject or body
> 'help' to
> swfobject-request at lists.deconcept.com
>
> You can reach the person managing the list at
> swfobject-owner at lists.deconcept.com
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of SWFObject digest..."
>
>
> Today's Topics:
>
> 1. Flash detection problem (Lacy Garrison)
> 2. Re: Flash detection problem (Michael Williams)
> 3. Re: Flash detection problem (Michael Williams)
> 4. Re: Flash detection problem (swfobject)
> 5. Re: Streaming video not buffering (Aran Rhee)
>
>
>
----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 9 May 2006 18:29:50 -0400
> From: "Lacy Garrison" <lacy at kickapps.com>
> Subject: [SWFObject] Flash detection problem
> To: <swfobject at lists.deconcept.com>
> Message-ID:
>
<20060509222950.69E9644DF0C at relay3.r3.iad.emailsrvr.com>
> Content-Type: text/plain; charset="us-ascii"
>
> I have beating my head against a Flash detection
> problem for a few days.
>
>
>
> I've downloaded swfobject.js and followed the
> instructions on how to use it.
> However, the Flash detection fails in a specific
> version of IE
> (6.0.2900.2180.xpsp_sp2_gdr.050301-1519) with Flash
> Player 8.0.24.0
> installed.
>
>
>
> Has anyone seen this problem? Any advice you can
> give would be greatly
> appreciated.
>
>
>
> Thank you,
>
>
>
> Lacy Garrison
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
/pipermail/swfobject-deconcept.com/attachments/20060509/3d52056b/attachment.htm
>
> ------------------------------
>
> Message: 2
> Date: Tue, 9 May 2006 15:38:04 -0700
> From: "Michael Williams" <miwillia at adobe.com>
> Subject: Re: [SWFObject] Flash detection problem
> To: <swfobject at lists.deconcept.com>
> Message-ID:
>
>
<55BAE55B0193F54994544B279BF7BA0CD4AADE at namail4.corp.adobe.com>
> Content-Type: text/plain; charset="us-ascii"
>
> This is a known issue with the detection that
> SWFObject and the
> Macromedia Detection kit use. The
> axo.GetVariable("$version"); call
> crashes Flash Player 6.0 prior to version r47. So we
> created some work
> around scripts to default to specific values if we
> can figure out that
> you have a player that will crash or have problems
> with the simpler
> GetVariable path. This script will be made public in
> a few weeks after
> we have completed testing. Geoff might want to take
> elements of it and
> add them to the SWFObject since I know he has had
> the same issue. Just
> make sure you give attribution to Adobe.
>
> Here is the updated script.
> DetectFlashVer(reqMajorVer, reqMinorVer,
> reqRevision) is the main function:
>
> // Flash Player Version Detection - Rev 1.5
> // Detect Client Browser type
> // Copyright 2006 Adobe Systems, Inc. All rights
> reserved.
> var isIE = (navigator.appVersion.indexOf("MSIE") !=
> -1) ? true : false;
> var isWin =
> (navigator.appVersion.toLowerCase().indexOf("win")
> != -1) ?
> true : false;
> var isOpera = (navigator.userAgent.indexOf("Opera")
> != -1) ? true :
> false;
>
> function ControlVersion()
> {
> var version;
> var axo;
> var e;
>
> // NOTE : new ActiveXObject(strFoo) throws an
> exception if
> strFoo isn't in the registry
>
> try {
> // version will be set for 7.X or greater players
> axo = new
> ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
> version = axo.GetVariable("$version");
> } catch (e) {
> }
>
> if (!version)
> {
> try {
> // version will be set for 6.X players only
> axo = new
> ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
>
> // installed player is some revision of 6.0
> // GetVariable("$version") crashes for versions
> 6.0.22 through 6.0.29,
> // so we have to be careful.
>
> // default to the first public version
> version = "WIN 6,0,21,0";
>
> // throws if AllowScripAccess does not exist
> (introduced in 6.0r47)
> axo.AllowScriptAccess = "always";
>
> // safe to call for 6.0r47 or greater
> version = axo.GetVariable("$version");
>
> } catch (e) {
> }
> }
>
> if (!version)
> {
> try {
> // version will be set for 4.X or 5.X player
> axo = new
> ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
> version = axo.GetVariable("$version");
> } catch (e) {
> }
> }
>
> if (!version)
> {
> try {
> // version will be set for 3.X player
> axo = new
> ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
> version = "WIN 3,0,18,0";
> } catch (e) {
> }
> }
>
> if (!version)
> {
> try {
> // version will be set for 2.X player
> axo = new
> ActiveXObject("ShockwaveFlash.ShockwaveFlash");
> version = "WIN 2,0,0,11";
> } catch (e) {
> version = -1;
> }
> }
>
> return version;
> }
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Swfobject
mailing list