SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast DavidChildress's Avatar
    Join Date
    Jun 2009
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Working with ActiveX Components-IE Conditional Comments-Writing code for IE & non-IE

    Working with ActiveX Components-
    Internet Explorer Conditional Comments - Writing code for IE & non-IE Browsers

    Hello,

    This code is displaying just fine in IE 8, Opera 9.64 & Maxthon 2.5.1

    (A QuickTime Player control followed by text.)

    In Safari 4.0(530.17) the QuickTime player appears but NO TEXT appears

    In Firefox 3.0.11 the text appears but NO QUICKTIME PLAYER appears(only a QuickTime placeholder icon)

    Could someone please describe what is actually happening and what modifications need to be performed on the code to make BOTH the text and QuickTime player appear?

    Thank you.




    <div class="boxContent">
    <h2>Listen Up</h2>


    <p style="text-align: center">

    <!--[if IE]><!-->
    <object data="overture.mp3" type="audio/mpeg"
    classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    codebase="httpCOLON//wwwDOTappleDOTcom/qtactivex/qtpluginDOTcab"
    Width="280" height="25" >
    <!--<![endif]-->


    <!--[if !IE]><!-->
    <object data="overture.mp3" type="audio/mpeg"
    width="280" height="25">
    <!--<![endif]-->




    <param name="src" value="overture.mp3" />
    <param name="autoplay" value="false" />
    <param name="autostart" value="false" />
    <param name="controller" value="true" />
    <param name="showcontrols" value="true" />
    </object>

    </p>


    <p>The music for <i>Royal Wedding</i> was composed by Burton Lane,
    who is best known for his work in <i>Finian's Rainbow </i>(1947)
    and his Grammy Award-winning <i>On a Clear Day You Can See
    Forever </i>(1965). Lane's greatest musical accomplishment may
    very well be his discovery of an 11-year-old singing phenom named
    Frances Gumm, whom the world now knows better as Judy Garland.</p>
    </div>

  2. #2
    SitePoint Enthusiast DavidChildress's Avatar
    Join Date
    Jun 2009
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also... on the Safari browser, the audio clip plays immediately upon loading.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •