Ir para conteúdo
Fórum Script Brasil
  • 0

Wmv E Vídeos


yurihard

Pergunta

7 respostass a esta questão

Posts Recomendados

  • 0

faz um player no Flash

tongue.gif

Link para o comentário
Compartilhar em outros sites

  • 0

Veja este exemplo

Salve como um .htm e teste

<!-- 2005-06-05 -->
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Battlefield 2 - Trailer 3</title>
<link rel="stylesheet" type="text/css" href="player.css">
<!-- 2.2 -->
</head>

<body bgcolor="#000000" text="#FFFFFF" topmargin="0"
leftmargin="0" marginheight="0" marginwidth="0">
<script language="javascript">
<!--
/*
	Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
	Permission granted to Dynamic Drive to feature script in archive
	For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
	*/

	var win = null;
	function NewWindow(mypage,myname,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings =
	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
	win = window.open(mypage,myname,settings)
	}
//-->
</script><script
language="javascript">


/* The following functions: videoFullScreen(), videoPlay(), videoStop(), and videoPause() all are associated with the various methods exposed by the player ActiveX control. These functions are called by their respective buttons */

function videoFullScreen()
{
	player.objMediaPlayer.DisplaySize=3;
}


</script>

<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
    <tr>
        <td align="center" bgcolor="#272727"
        style="background:url('images/player_mid_left_top.gif') repeat-x;background-color: #272727;"><table
        border="0" cellpadding="0" cellspacing="0"
        style="border-collapse: collapse" id="AutoNumber1">
            <tr>
                <td background="images/player_mid.gif"><img
                src="images/player_movie_left.gif" width="5"
                height="21"></td>
                <td align="right"
                background="images/player_mid.gif"><img
                src="images/player_movie_right.gif" width="5"
                height="21"></td>
            </tr>
            <tr>
                <td align="center" colspan="3"><object
                id="Player" name="Player"
                classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
                align="baseline" border="0" width="480"
                height="436" standby="Loading Stream..."
                type="application/x-oleobject"><param name="URL"
                value="http://moses.gametrailers.com/streambuilder.php?type=wmv&amp;streamtext=net:1::m:t_battlefield2_4&amp;h=436&amp;w=480&amp;r="><param
                name="AllowChangeDisplaySize" value="True"><param
                name="AutoSize" value="False"><param
                name="DisplaySize" value="0"><param
                name="ShowControls" value="True"><param
                name="showstatusbar" value="True"><param
                name="AutoRewind" value="True"><param
                name="AutoStart" value="True"><embed src="http://moses.gametrailers.com/streambuilder.php?type=wmv&amp;streamtext=net:1::m:t_battlefield2_4&amp;h=436&amp;w=480&amp;r=" align="baseline" border="0" width="480" height="436" name="Player" type="application/x-mplayer2" showc."0" showstatusbar="1" autosize="true" loop="true" enablec."0" displaysize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></object><script
                language="JScript">
   document.getElementById('movieTitle').innerHTML = 'Advertisement';
</script> <script
                language="JScript" for="Player"
                event="currentItemChange()">
   document.getElementById('movieTitle').innerHTML = 'Battlefield 2</a> - Trailer 3';
</script> </td>
            </tr>
        </table>
        <p><img src="images/player_dl_spacer.gif" width="238"
        height="8"><br>
        </p>
        </td>
    </tr>
</table>
</body>
</html>

Link para o comentário
Compartilhar em outros sites

  • 0
Veja este exemplo

Salve como um .htm e teste

<!-- 2005-06-05 -->
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Battlefield 2 - Trailer 3</title>
<link rel="stylesheet" type="text/css" href="player.css">
<!-- 2.2 -->
</head>

<body bgcolor="#000000" text="#FFFFFF" topmargin="0"
leftmargin="0" marginheight="0" marginwidth="0">
<script language="javascript">
<!--
/*
	Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
	Permission granted to Dynamic Drive to feature script in archive
	For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
	*/

	var win = null;
	function NewWindow(mypage,myname,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings =
	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
	win = window.open(mypage,myname,settings)
	}
//-->
</script><script
language="javascript">


/* The following functions: videoFullScreen(), videoPlay(), videoStop(), and videoPause() all are associated with the various methods exposed by the player ActiveX control. These functions are called by their respective buttons */

function videoFullScreen()
{
	player.objMediaPlayer.DisplaySize=3;
}


</script>

<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
    <tr>
        <td align="center" bgcolor="#272727"
        style="background:url('images/player_mid_left_top.gif') repeat-x;background-color: #272727;"><table
        border="0" cellpadding="0" cellspacing="0"
        style="border-collapse: collapse" id="AutoNumber1">
            <tr>
                <td background="images/player_mid.gif"><img
                src="images/player_movie_left.gif" width="5"
                height="21"></td>
                <td align="right"
                background="images/player_mid.gif"><img
                src="images/player_movie_right.gif" width="5"
                height="21"></td>
            </tr>
            <tr>
                <td align="center" colspan="3"><object
                id="Player" name="Player"
                classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
                align="baseline" border="0" width="480"
                height="436" standby="Loading Stream..."
                type="application/x-oleobject"><param name="URL"
                value="http://moses.gametrailers.com/streambuilder.php?type=wmv&amp;streamtext=net:1::m:t_battlefield2_4&amp;h=436&amp;w=480&amp;r="><param
                name="AllowChangeDisplaySize" value="True"><param
                name="AutoSize" value="False"><param
                name="DisplaySize" value="0"><param
                name="ShowControls" value="True"><param
                name="showstatusbar" value="True"><param
                name="AutoRewind" value="True"><param
                name="AutoStart" value="True"><embed src="http://moses.gametrailers.com/streambuilder.php?type=wmv&amp;streamtext=net:1::m:t_battlefield2_4&amp;h=436&amp;w=480&amp;r=" align="baseline" border="0" width="480" height="436" name="Player" type="application/x-mplayer2" showc."0" showstatusbar="1" autosize="true" loop="true" enablec."0" displaysize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></object><script
                language="JScript">
   document.getElementById('movieTitle').innerHTML = 'Advertisement';
</script> <script
                language="JScript" for="Player"
                event="currentItemChange()">
   document.getElementById('movieTitle').innerHTML = 'Battlefield 2</a> - Trailer 3';
</script> </td>
            </tr>
        </table>
        <p><img src="images/player_dl_spacer.gif" width="238"
        height="8"><br>
        </p>
        </td>
    </tr>
</table>
</body>
</html>

COMO FAÇO COM ESTE CODIGO PARA CHAMAR O MEU VIDEO?

Link para o comentário
Compartilhar em outros sites

  • 0

Amigo, eu também estava querendo fazer esse tipo de script para meu site, se você conseguiu envia ai pra mim, por favor.

e-mail: turmadopiracao@yahoo.com.br

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,3k
×
×
  • Criar Novo...