I’m using this method of embedding, detecting and/or providing alternative content for a flash movie, but the movie doesn’t play when flash is installed.
The two files “swfobject.js” and “heliLog2_small.swf” are in the same folder as the html file.
Can anyone spot my error?
thanks in advance
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.menu = "false";
params.scale = "noscale";
var attributes = {};
attributes.name = "helilogs";
swfobject.embedSWF("heliLog2_small.swf", "flashDiv", "191", "100", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
</head>
<body>
<div id="flashDiv">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
</body>
</html>