Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/01/2010, 14:57
arturoroa
 
Fecha de Ingreso: enero-2010
Mensajes: 5
Antigüedad: 14 años, 2 meses
Puntos: 0
Exclamación URGENTISIMO ayuda con swf object

disculpen mi ignorancia alguien sabe como cambar:




a algo del estilo:




<object width="90%" height="80%"><param name="movie" value="http://www.youtube.com/apiplayer?enablejsapi=1&playerapiid=ytplayer&id=my ytplayer"></param><param name="allowFullScreen" value="false">
<param name="id" value="ytapiplayer">
</param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/apiplayer?enablejsapi=1&playerapiid=ytplayer&id=my ytplayer" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="90%" height="80%" id ="ytapiplayer"></embed></object>




<script type="text/javascript">
// <![CDATA[

// allowScriptAccess must be set to allow the Javascript from one
// domain to access the swf on the youtube domain
var params = { allowScriptAccess: "always", bgcolor: "#ffffff" };
// this sets the id of the object or embed tag to 'myytplayer'.
// You then use this id to access the swf and make calls to the player's API
var atts = { id: "myytplayer" };
var heigth="50%";
var width="90%";
var ver = "8"
swfobject.embedSWF("http://www.youtube.com/apiplayer?enablejsapi=1&playerapiid=ytplayer","yta piplayer",width,heigth,ver, null, null, params, atts);
//]]>
</script>



O si alguien me podria decir donde esta mi error porque cuando en heigth le pongo un numero por ejemplo 400 el reproductor se muestra pero si le pongo un porcentaje ejemplo 50% el reproductor no se ve, de antemano gracis