pbifaro Posted April 27, 2010 Share Posted April 27, 2010 I am looking for a way to swap out a flash animation with a jpeg file when a media player is not available on a browser’s computer. Any ideas out there?Here is a link to the site that I’m working on. The Flash file is in the top banner. We would like to serve up a static image when the Flash animation will not play.http://www.pambifaro.com/kkad25/index.htmlThanksPamela Link to comment Share on other sites More sharing options...
Skemcin Posted April 27, 2010 Share Posted April 27, 2010 <cfset req = GetHttpRequestData()><cfif req.headers.accept contains "application/x-shockwave-flash">You have Flash 6 or above.</cfif>Of course that's if you are coding in ColdFusion, otherwise, there are plenty of browser detection scripts to choose from. Link to comment Share on other sites More sharing options...
justsomeguy Posted April 27, 2010 Share Posted April 27, 2010 If you use a tool like SWFObject to embed the Flash file, it has a way to specify alternative content. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.