Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sbryan

macrumors member
Original poster
Jun 6, 2007
96
0
Just wondering if I can forward mobile and desktop users without flash to a custom address in place of this ubiquitous link: http://get.adobe.com/flashplayer/

I'm using SWFObject to embed flash content.

That link posted above is mentioned in SWFObject, however, when I alter that link nothing happens. More to the point, IE6 without Flash tells me "Done, with errors on page."

Thanks!
 
Unless I am reading the docs wrong, for v2 of swfobject just use the optional redirectUrl argument, i.e. with this syntax:

Code:
var so = new SWFObject(swf, id, width, height, version, background-color [, quality, xiRedirectUrl, [COLOR=Red]redirectUrl[/COLOR], detectKey]);

Optional arguments are:
  • quality – The quality you wish your Flash movie to play at. If no quality is specified, the default is "high".
  • xiRedirectUrl – If you would like to redirect users who complete the ExpressInstall upgrade, you can specify an alternate URL here
  • redirectUrl – If you wish to redirect users who don’t have the correct plug-in version, use this parameter and they will be redirected.
  • detectKey – This is the url variable name the SWFObject script will look for when bypassing the detection. Default is ‘detectflash’. Example: To bypass the Flash detection and simply write the Flash movie to the page, you could add ?detectflash=false to the url of the document containing the Flash movie.

For more information

-jim
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.