Safari doesn't render Flash element

Discussion in 'Web Design and Development' started by Dane D., Oct 13, 2009.

  1. Dane D. macrumors 6502a

    Apr 16, 2004
    Our company made this website -
    There is a Flash element in the upper-right hand corner. The Flash element shows up in Firefox, Opera, IE, Camino, SeaMonkey but does not show up in Safari, Shiira or iCab. Can someone look at the source code and offer some advice on why this is happening and how to fix. Thank you.
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    I believe Safari is getting caught up on the conditional comments. Safari shows the object tag to be a comment which it should. The below code snippet shows where this is happening.

    		     <!--[if !IE]>
    		     <object data="flash/northstarpump.swf" type="application/x-shockwave-flash" width="214" height="234" align="top">
    Safari is interpreting it correctly. M$ made intended the !IE to be used more as "!IE 6" but still available to other IE versions. Mozilla decided they would let their browser access that content as well, though they shouldn't have. Anything between <!-- and --> is a HTML comment and that's exactly how Safari is treating it. So you should probably get that portion of the code reworked.

Share This Page