p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Web Programming > HTML > HTML Code Clinic
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 24th, 2009, 04:26 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ActiveX Components-IE Conditional Comments - Writing code for IE & non-IE browsers

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

Hello,

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

(A QuickTime Player control followed by text.)

2) In Safari 4.0(530.17) the QuickTime player appears but NO TEXT appears... also Safari causes the audio to autoplay upon loading(that should not be happening)

3) 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.


Code:
 
<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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to guess around ActiveX=COM Components asgarcymed VBScript 2 December 3rd, 2007 02:08 PM
ActiveX Components in asp kishore.kumar Classic ASP Components 2 March 9th, 2007 07:53 AM
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
Outputting Conditional Comments ole_v2 XSLT 2 November 13th, 2006 03:39 PM
Creating Activex DLL components vbmo Classic ASP Components 11 June 30th, 2003 05:37 AM



All times are GMT -4. The time now is 08:46 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc