Safari doesn't render Flash element

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

  1. Dane D. macrumors 6502a

    Joined:
    Apr 16, 2004
    Location:
    ohio
    #1
    Our company made this website - http://northstaroilfield.com/northstar.htm
    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

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    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.

    HTML:
    		     <!--[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