...

View Full Version : detecting flash



chrismiceli
01-01-2006, 12:12 AM
How can I have code on my site that sees if the user has flash and use embedded flash if he does, but if he doen't replace the embedded flash with a picture? Basically how can I detect if a person who visits my site has flash installed?

_Aerospace_Eng_
01-01-2006, 04:16 AM
The image in this code should show if flash isn't installed.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<object type="application/x-shockwave-flash" data="movie.swf" width="400" height="300">
<param name="movie" value="movie.swf">
<img src="nonflashimage.jpg" title="Your browser doesn't have flash installed" alt="Your browser doesn't have flash installed">
</object>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum