[SWFObject] Netscape 7.0 duplicates SWF
Darren Bowers
darren.bowers at gmail.com
Tue Oct 31 01:14:50 PST 2006
I unfortunately have to develop content to run on Netscape 7.0 (Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0)
and i found an interesting bug with SWFobject - any flash content is written
out twice on the page.
I have traced the browser detection in swfobject and it only seems to detect
that it is Navigator once, so i cant see how this is happening.
I have tried it with different SWF's and both swfobject 1.4.4 & 2.0 but i
get the same result - 2 SWF's on the page. IE 6+ & FF1.5+ are all good:
Here is all the code that exists.. any ideas? Can anyone else test this
browser?
<html>
<head>
<script src="scripts/swfobject.js" type="text/javascript"></script>
</head>
<body>
<div id="flashcontent">
<script type="text/javascript" language="javascript">
var fo = new SWFObject("./flash/topnav.swf", "topnav", "657",
"20", "7", "#FFFFFF");
fo.write("flashcontent");
</script>
</div>
</body>
</html>
Cheers,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061031/aa11c332/attachment-0004.htm>
More information about the Swfobject
mailing list