Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Gerador De Player

Featured Replies

Postado

Bom como ando vendo por aqui muita gente querendo um Gerador de Player funcional então venho aqui postar um bem útil que funciona com WHMSonic.

---> Caso tenha algum problema pode entrar em contato.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
* {
	margin: 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
}
body {
	font-size: 12px;
}
.campo {
	width: 350px;
	border: 1px solid #CCCCCC;
	line-height: 24px;
	vertical-align: middle;
	height: 24px;
}
#centro {
	margin: auto;
	width: 500px;
	padding-top: 20px;
}
.botao {
	color: #333333;
	background-color: #FFA629;
	padding: 5px;
	border: 1px solid #333333;
	font-weight: bold;
}
.style1 {color: #999999}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  <div align="center">
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p><img src="logo.fw.png" width="482" height="115" /></p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <table width="686" border="0" class="style1">
      <tr>
        <td width="150">IP DO STREAMING : </td>
        <td colspan="2"><label for="ip"></label>
          <input type="text" class="ip" name="ip" id="ip" style="width:400px;padding:10px 5px; color:#999; border:1px #0D1015 solid; background:none; font-size:16px;" placeholder="stream.mtekhost.com" /></td>
      </tr>
      <tr>
        <td>PORTA</td>
        <td colspan="2"><label for="porta"></label>
          <input type="text" class="ip" name="porta" id="porta" style="width:400px;padding:10px 5px; color:#999; border:1px #0D1015 solid; background:none; font-size:16px;" placeholder="ex: 9996" /></td>
      </tr>
      <tr>
        <td>Twitter</td>
        <td colspan="2"><label for="Twitter"></label>
          <input type="text" class="ip" name="twitter" id="twitter" style="width:400px;padding:10px 5px; color:#999; border:1px #0D1015 solid; background:none; font-size:16px;" placeholder="ex: Mtekhosting" /></td>
      </tr>
      <tr>
        <td>Facebook</td>
        <td colspan="2"><label for="Facebook"></label>
          <input type="text" class="ip" name="facebook" id="facebook" style="width:400px;padding:10px 5px; color:#999; border:1px #0D1015 solid; background:none; font-size:16px;" placeholder="ex: Mtekhost" /></td>
      </tr>
      <tr>
        <td colspan="2"><p align="center">
          <input type="submit" class="botao" name="Gerar" id="Gerar" value="Gerar Player" />
        </p></td>
        <td width="525"><div align="center">
          <? 
if($_POST["Gerar"])
{
	$IP = $_POST["ip"];
	$PORT = $_POST["porta"];
	$TWITTER = $_POST["twitter"];
	$FACEBOOK = $_POST["facebook"];
	if(empty($IP) or empty($PORT) or empty ($TWITTER) or empty ($FACEBOOK))
	{
		echo("Preencha todos os campos corretamente");
	}
	else
	{
		echo('Player Gerado com sucesso <br>
		  <!--Copyright © -->
<script type="text/javascript" src="player.js"></script>
	     <script type="text/javascript">
		    new WHMSonic({
			path : "http://mtekhost.com/gerar/WHMSonic.swf",
			source : "http://'.$IP.':'.$PORT.'",
			volume : 30,
			autoplay : true,
			width: 372,
			height: 60,
			twitter : "https://twitter.com/'.$TWITTER.'",
			facebook : "http://www.facebook.com/'.$FACEBOOK.'",
			logo : "http://whmsonic.com",
		    });
	        </script>
		<BR>
		<BR>
		
		<label for="textarea"></label>
  <textarea name="textarea" id="textarea" cols="70" rows="5">
  <!--Copyright © -->
<script type="text/javascript" src="player.js"></script>
	     <script type="text/javascript">
		    new WHMSonic({
			path : "http://mtekhost.com/gerar/WHMSonic.swf",
			source : "http://'.$IP.':'.$PORT.'",
			volume : 30,
			autoplay : true,
			width: 372,
			height: 60,
			twitter : "https://twitter.com/'.$TWITTER.'",
			facebook : "http://www.facebook.com/'.$FACEBOOK.'",
			logo : "http://whmsonic.com",
		    });
	        </script>
  </textarea>
  
  <br>
  
		
		');
	}
}
 ?>
        </div></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html> 

Postado

ele esta com problema no codigo , quando vai pra gerar o codigo nao aparece os dados que a gente colocou no godigo voce poder resolver


Postado
  • Autor

ele esta com problema no codigo , quando vai pra gerar o codigo nao aparece os dados que a gente colocou no godigo voce poder resolver

Já corrigi meu erro, por favor copie o código novamente.


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.