<div id="playerDiv"> <div style="padding: 20px; font-size:14px; font-weight: bold;"> Hello, you either have JavaScript turned off or an old version of Macromedia's Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/" onclick="_hbLink('Get+Flash','Watch');">Get the latest flash player</a>. </div> </div> <script type="text/javascript"> // <![CDATA[ var fo = new SWFObject("myflash.swf?id=something", "movie_player", "450", "370", 7, "#FFFFFF"); fo.write("playerDiv"); // ]]> </script> [/code]
But in FireFox it keeps showing the message that i dont have the correct flash version installed... Im using the latest flash player and i have the latest swfobject.js So what could be the problem...??