Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

alysson122010

Como deixar largura e altura 100%

Recommended Posts

Pessoal queria saber como posso deixar esse meu player com largura e altura 100% vlw :)

 

 

 

Codigo:

<style type="text/css">

*{margin:0; border:0; padding:0;}*

#player{width:100%;}

</style>

 

<script type="text/javascript">

// Must come after the video.js library

 

// Add VideoJS to all video tags on the page when the DOM is ready

VideoJS.setupAllWhenReady();

 

</script>

<div name="flashcontent2" id="flashcontent2"></div>

 

 

<script type="text/javascript" language="javascript">

if(!FlashDetect.installed){

document.getElementById("flashcontent2").innerHTML = "<b>This content requires the Adobe Flash Player. If the player does not load here in a moment please install flash. <a href=http://www.adobe.com/go/getflash/>GET FLASH HERE</a></b>";

document.getElementById("player").style.minHeight = "100%";

} else{

// Flash embed code starts

//delete the below sample

var so1 = new SWFObject("YTPlayer.swf", "YTPlayer", "8", null, true);

so1.addParam("allowFullScreen", "true");

so1.addParam("allowSciptAccess", "always");

so1.addVariable("movieName", "upload/videos/<?php echo $row_video['vid_nome']; ?>");

so1.addVariable("autoStart", "true");

so1.addVariable("logoPath", "logo/icone.png"); // 60*60 dimension

so1.addVariable("logoPosition", "top_right"); // accepted values are top_left, top_right, bottom_left and bottom_right

so1.addVariable("logoClickURL", "http://www.facebook.com/plugins/like.php?href=https://www.facebook.com/Bigfilmeshd");

so1.write("flashcontent2");

so1.write("player");

// Flash Embed code ends

}

</script>

 

 

 

Me ajudem por favor :(

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.