Link to home
Start Free TrialLog in
Avatar of esquivelp
esquivelp

asked on

Embedded YouTube Video Not showing in IE

Experts:

Check out the link:

http://www.dannyesquivel.com/?page_id=208

There is an embedded youtube video that is showing fine in firefox and of course is not showing up in IE7

Attached is the code and the screenshot of the error,

thks!
<?php get_header(); ?>
<style type="text/css">
<!--
.style14 {
	color: #183152;
	font-size: 24px;
}
.style15 {
	font-family: "Arial Narrow";
	font-size: 24px;
	font-weight: bold;
}
.style17 {
	color: #000000;
	margin-left: 5px;
	font-family: "Arial Narrow";
	font-size: 14px;
}
.style19 {
	color: #000000;
	margin-left: 5px;
	font-family: "Arial Narrow";
	font-size: 12px;
}
.style22 {color: #000000; margin-left: 5px; font-family: "Arial Narrow"; font-size: 12px; }
.style27 {font-size: 18px}
.style29 {
	color: #183152;
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
 
 
 
 
<script src="../../../../../Scripts/AC_ActiveX.js" type="text/javascript"></script>
<script src="../../../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<div id="homepage">
 
<div id="hpmain">
 
				
 
		<div class="hpmainleft">
 
		<div class="hpfeaturedbottom">
 
			
 
 
<div style="padding-top:10px; clear:both;"></div>
				<p align="justify" class="style15">Bienvenidos a marinapena.com!</p>
				<p align="justify">  	
 
<img style="margin-right:10px; "src="<?php bloginfo('template_url'); ?>/images/marina150.jpg" alt="<?php bloginfo('name'); ?>" width="105" height="128" align="left" /><span class="style5 style13"><span class="style17">Entender lo que sentimos es abrir una puerta para comprender nuestras acciones. El desarrollo de este sitio se enfoca principalmente<br />
			    en seguir difunedo y ayudando a mas personas a encontrar el camino para enfrentar la adversidad con mayor fotaleza<br />
			    Tener conciencia y conocer el valor del amor es la clave para lograr cualquier proposito en nuestras vidas. akdkajckjanckjandckjand<br />
			    lograr cualquier proposito en nuestras vidas. akdkajckjanckjandckjand<br />
			    lograr cualquier proposito en nuestras vidas. akdkajckjanckjandckjand lograr cualquier proposito en nuestras vidas. akdkajckjanckjandckjand lograr cualquier proposito en nuestras vidas. akdkajckjanckjandckjand lograr cualquier proposito<br />
			    en nuestras vidas. akdkajckjanckjandckjand lograr cualquier proposito en nuestras vidas. akdkajckjanckjandckjand</span></p>
		</div>
 
			
          <div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
          <p align="justify"><img src="<?php bloginfo('template_url'); ?>/images/BOTTON1.gif" alt="<?php bloginfo('name'); ?>" width="104" height="35" align="middle" /><span class="style5 style13"><span class="style14"><span class="style11"><span class="style22">Transtorno de D&eacute;ficit de Atenci&oacute;n. Descubre qu&eacute; es este trastorno c&oacute;mo se manifiesta y qu&eacute; hacer para controlarlo. Mas detalles puedes encontrarlos en las seccion de CEPEF.</span></span></span></p>
          <ul>
            <div class="hpfeaturedbottom">
              
              
              
              
              <div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
              <p align="justify"><img src="<?php bloginfo('template_url'); ?>/images/rojogif.gif" alt="<?php bloginfo('name'); ?>" width="104" height="35" align="middle" /><span class="style5 style13"><span class="style19">Descubre cuales son los problemas de aprendizaje mas comunes y algunos m&eacute;todos<br />
  que te podr&iacute;an ayudar.</span></p>
            </div>
            <div class="hpfeaturedbottom">
              
              
              
              
              <div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
              <p align="justify"><img src="<?php bloginfo('template_url'); ?>/images/naranja.gif" alt="<?php bloginfo('name'); ?>" width="104" height="35" align="middle" /><span class="style5 style13"><span class="style19">Porqu&eacute; mi hijo es desafiante.<br />
  Encuentra cuales son las causas de esta conducta y estrategias pr&aacute;cticas de intervenci&oacute;n</span></p>
            </div>
            <span class="style19">
            <h3>
	                   <p>&nbsp;</p>
          </ul>
  </div>
 
		
 
<div class="hpmainright">
 
		
 
			<!--This section is where the custom images are found for the homepage right column - note the custom field name for this image is "homepage". Recommended image size is 82x55, as the stylesheet is written for this size.-->
<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
 
			  <p>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(4) ) : else : ?>
    <li id="links">
 
		<h2 align="left">Enlaces Importantes</h2>
 
			<ul>
 
				<?php wp_list_bookmarks('title_li=0&categorize=0&category=28&show_images=1&show_description=28&orderby=url'); ?>
			</ul>
	  </li>
        
        </p>
        <div style="padding-top:10px;border-bottom:1px dotted #C0C0C0; clear:both;"></div>
        
    </div> 
            
        <div class="hpfeaturedbottom">
          <p align="center" class="style25"><span class="style29">Video de Marina</span> </p>
          <div>
        <script type="text/javascript">
AC_AX_RunContent( 'width','390','height','300','align','middle','src','http://www.youtube.com/v/BkMNzDYgFlk&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1','type','application/x-shockwave-flash','allowfullscreen','true','movie','http://www.youtube.com/v/BkMNzDYgFlk&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1' ); //end AC code
</script><noscript><object width="390" height="300" align="middle">
          <param name="movie" value="http://www.youtube.com/v/BkMNzDYgFlk&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/BkMNzDYgFlk&hl=en&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1" width="390" height="300" align="middle" type="application/x-shockwave-flash" allowfullscreen="true"></embed></object></noscript>
  </div>
             
	<div style="padding-top:10px;border-top:1px dotted #C0C0C0; clear:both;"></div>
        
        <div class="hpfeaturedbottom">
				
          
        <div class="style27" style="float:right; margin:0px -15px 5px 0px; width:371px">
        
        
    
       
  <?php endif; ?>
  </p>
        </span></div>
      </div>
</div>
<span class="style27">
<!-- begin r_sidebar -->
</span></div>
<span class="style27">
<!-- begin r_sidebar -->
</span>
<p class="style27">
  <!-- end r_sidebar -->
  
  
  
  
  <!-- The main column ends  -->
  
  
  
  <?php get_footer(); ?>
</p>

Open in new window

screenshot.GIF
ASKER CERTIFIED SOLUTION
Avatar of scrathcyboy
scrathcyboy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of esquivelp
esquivelp

ASKER

Active Scripting is enable and I have checked in several computers and none of them seems to show the video. Is it showing for you?
SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It will never show with active-X disabled, as I have it.  I just wanted to alert you to this fact in case you weren't aware of the issue.
The default IE setting would not stop the object.  Although that could definitely be a problem with a specific user it isn't the main problem on your page.  The code just doesn't work as you have it, hopefully for the reasons I mentioned.  You should be able to embed the video and IE users should be able to see it, if they haven't changed their settings to disable it.  If they can watch a youtube video in IE then it should work for them on this page once we get the code working.
bol
Hey guys!! Guess what?? Now its working, I don´t understand why, I tried with a different video and copy the embeded and with the following script is working now, I will split the points...

Thks pals!

 <div class="hpfeaturedbottom">
          <p align="center" class="style25"><span class="style29">Video de Marina</span> </p>
        
         <object width="390" height="349"><param name="movie" value="http://www.youtube.com/v/7sjSHazjrWg&hl=en&fs=1&color1=0x2b405b&color2=0x6b8ab6&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/7sjSHazjrWg&hl=en&fs=1&color1=0x2b405b&color2=0x6b8ab6&border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="390" height="349"></embed></object>

Open in new window

thks!
If that is the code you have now that works then it is most likely because of the corrections.  The object tag is closed correctly and the noscript tags aren't in the middle of the code.
If you agree that this is the fix then did you mean to assign a B grade?  It would seem our contributions and specifically that part of mine were the exact fix.  I am glad it is working but the grade makes it seem the answer isn't complete.  Let me know if that isn't the case and there was a mistake when you closed this.  It is easy to fix.  If you have a question let me know.
I'm glad it is working.
bol