Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Help with <OBJECT> tag

Help with <OBJECT> tag

Reply
  #1 (permalink)  
Old 11-01-09, 11:34 PM
mozart66 mozart66 is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Help with <OBJECT> tag

Hi!

I have designed and developed a website where on the Home page I have a movie object that is run automatically when the page loads. This movie object is displayed without any player control (such as Play, FF or Rewind buttons). When the user clicks on this object anywhere it takes the user to the next page on the website. Basically I have hyperlinked <OBJECT> tag with <a href..> tag. So far so good. This works wonderfully well in Internet Explorer browser. But if the same site is viewed in Google Chrome or Mozilla Firefox (3), the movie object is not displayed correctly nor is it hyerlinked correctly and therefore the user con not go to the next page in the website which has all the normal navigation menus etc.

Is there any solution to this? It is quite frustrating to see the website work in one browser and not work in other browsers. Please help. My HTML programming level is between intermediate and expert.

Need help soon.

Thank you in advance for whoever answers!
Mozart66
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-02-09, 07:03 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,029
Thanks: 14
Thanked 34 Times in 33 Posts
Please post your code so we can see it (otherwise all we can do is guess at what the issue might be).
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data (scroll down)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-03-09, 11:48 PM
mozart66 mozart66 is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Hi!

Thanks! Please find the code below.
HTML Code:
<body bgcolor="#660000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<MARQUEE bgcolor="#660000" loop="-1" scrollamount="2" width="100%" class="mar_display"><strong>This website was launched officially on October 16, 2008 at the hands of Shri Prataprao Pawar, Chairman, Sakal Papers.</strong></MARQUEE>

<script language="JavaScript">
<!--
function doThis(){
top.document.location.replace("mainmenu_kb.html")
}
//-->
</script>

<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><table width="781" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" valign="center">
           <a href="mainmenu_kb.html"><img width="781" height="81" border="0" src="http://www.hotscripts.com/forums/images/name.jpg" name="banner1" alt="Click ANYWHERE on the screen to enter the website!"></a>
        </td>
      </tr>
      <tr>
        <td align="center" valign="top">
<span style="cursor:pointer"><OBJECT ID="MediaPlayer" WIDTH="640" HEIGHT="480" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject" onmousedown="doThis()">
<PARAM NAME="FileName" VALUE="videos/cover_page.wmv">
<PARAM name="ShowControls" VALUE="false">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="true">
<EMBED TYPE="application/x-mplayer2" SRC="videos/cover_page.wmv" NAME="MediaPlayer"
WIDTH="640" HEIGHT="480" ShowControls="0" ShowStatusBar="0" ShowDisplay="0" autostart="true"> </EMBED>
</OBJECT></span>

         </td>
      </tr>
          </table></td>
      </tr>

      <tr class="lightbluetable">
        <td height="20" align="center" nowrap class="footer">Copyright &copy; 2008. Kalyani Bondre. All rights reserved. Site Designed &amp; Developed By: <a href="mailto:email2manju@gmail.com" target="_blank" class="footer"> Manjusha Wadekar</a>. Last Updated: May 2009</td>
      </tr>
    </table></td>
  </tr>
</table>
<map name="Map">
  <area shape="rect" coords="616,61,735,78" href="mainmenu_kb.html" alt="Click here to enter!">
</map>
</body>
Can you figure out the problem? Thank you in advance!

Mozart66

Last edited by therocket954; 11-04-09 at 07:20 AM. Reason: wrapped code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing html tag attributes d*d PHP 7 03-21-09 02:38 AM
php tag cloud generation zainul.dss PHP 1 07-12-08 11:50 AM
Including a File but cant use the include tag Dainbramaged05 PHP 4 10-10-05 07:00 AM


All times are GMT -5. The time now is 10:46 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.