Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about a Redirect???

Status
Not open for further replies.

TigerGirl7

Programmer
Apr 8, 2003
152
US
Hi,

I created a video that I want to play on my homepage. I created two versions: one for Flash 6, and one for Flash 8. I love how the Flash 8 video looks, but I want to have a fall back for users who only have Flash 6 installed.

Using Deconcept's SWFObject - - it looks like I can detect whether the user has the Flash 8 plugin, and if not redirect the user to an alternate page where they can see the Version 6 video.

Is this the best way to do this? I was hoping there's be a way to display an alternate swf file depending on the user's version of Flash.

I'm also very concerned about any SEO implications with this method (if any).

Cheers!
 
Actually, I can't even get the redirect to work. Anyone see a problem? Here's the code:


<html xmlns=" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>home_f6</title>
<!-- SWFObject embed by Geoff Stearns geoff@deconcept.com -->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var so = new SWFObject("home_f8.swf", "mymovie", "259", "236", "8", " "#336699", );
so.write("flashcontent");
</script>


</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" width="264" height="285" id="home_f6" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="home_f6.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="home_f8.swf" quality="high" bgcolor="#ffffff" width="264" height="285" name="home_f6" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" />
</object>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top