Osiris 0 Denunciar post Postado Maio 21, 2012 Eae galera bom dia! Não manjo nada quase estou criando um site simples aqui pra mim mesmo mas só que eu queria que ficasse uma musica de fundo, mas só que eu não consigo, queria saber em qual extensão devo salvar a musica e como faço para inclui la no site, (Qual o código)?? Valeu galera a baixo vou deixar o código da pagina pra vcs verem ai.... <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Home</title> <style type="text/css"> body { background-color: #666; text-align: center; color: #FFF; font-weight: bold; background-repeat: repeat; } .links { text-align: center; font-family: Cambria; } a:link { color: #666; text-decoration: none; } a:visited { color: #BEDDB2; text-decoration: none; } a:hover { color: #FFFFFF; text-decoration: none; } a:active { color: #00F; font-family: Cambria; text-align: right; font-style: normal; font-size: 18px; font-weight: normal; text-decoration: blink; line-height: normal; } .rodapé { color: #000; font-weight: normal; font-size: 14px; text-align: justify; font-family: Arial; } a { font-family: Cambria; font-size: 18px; } .links .links .links .links { font-family: Cambria; } body,td,th { font-family: Caligula; font-size: 18px; } .links { text-align: left; } .links { text-align: center; font-family: Cambria; font-size: 24px; font-weight: bold; } body p { font-family: Arial; } .links add { font-family: Caligula; } .kiki { color: #FFF; } </style> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> </head> <body text="#CC3300"> <table width="868" height="480" border="1" align="center" bgcolor="#000000"> <tr> <td height="178" colspan="2" align="center" valign="middle" bgcolor="#999999"><img src="Serralheria.jpg" alt="Serralheria" width="250" height="50" align="absbottom" /><img src="Logo D&S.png" alt="D&S" width="249" height="175" align="middle" /><img src="Serralheria.jpg" alt="Serralheria" width="250" height="50" align="absbottom" /></td> </tr> <tr> <td height="20" colspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#FFFFFF"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="885" height="16" align="middle" id="FlashID2" title="animaart"> <param name="movie" value="faixa central.swf" /> <param name="quality" value="autolow" /> <param name="swfversion" value="6.0.65.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <param name="SCALE" value="noborder" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object data="faixa central.swf" type="application/x-shockwave-flash" width="885" height="16" align="middle"> <!--<![endif]--> <param name="quality" value="autolow" /> <param name="swfversion" value="6.0.65.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <param name="SCALE" value="noborder" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object></td> </tr> <tr> <td width="253" height="32" colspan="0" align="center" valign="middle" bgcolor="#999999" class="links"> </td> <td width="627" rowspan="6" align="center" valign="middle" bgcolor="#999999"> </td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#999999" class="links"><a href="index.php" target="_self">Home</a></td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#999999" class="links"><a href="quem somos.php" target="_self">Quem Somos</a></td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#999999" class="links"><a href="serviços.php" target="_self">Serviços</a></td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#999999" class="links"><a href="contato.php" target="_self">Contato</a></td> </tr> <tr class="rodapé"> <td height="45" bgcolor="#999999"> </td> </tr> <tr> <td height="25" colspan="2" align="center" valign="bottom" bgcolor="#999999"> <span class="rodapé">Copyright©2012 Fraternally - Todos os direitos reservados - Designer, Criação, Revisão & Administração:</span><span class="kiki"> <a href="http://www.artattackpd.com/" target="_blank">Art Attack P.D.</a></span></td> </tr> </table> <script type="text/javascript"> swfobject.registerObject("FlashID2"); </script> </body> </html> Compartilhar este post Link para o post Compartilhar em outros sites
Morpheus#2005 1 Denunciar post Postado Maio 21, 2012 Opa , boa tarde! Segue codigo para colocar a musica em BG. <code> <embed name="MeuSite" src="/web_design/lostmojo.wav" loop="true" width="300" height="90" hidden="true" autostart="true"> </embed> </code> [] Segue. <embed name="lostmojo" src="/web_design/lostmojo.wav" loop="false" width="300" height="90" hidden="false" autostart="false"> </embed> Compartilhar este post Link para o post Compartilhar em outros sites
Osiris 0 Denunciar post Postado Maio 21, 2012 Opa , boa tarde! Segue codigo para colocar a musica em BG. <code> <embed name="MeuSite" src="/web_design/lostmojo.wav" loop="true" width="300" height="90" hidden="true" autostart="true"> </embed> </code> [] Segue. <embed name="lostmojo" src="/web_design/lostmojo.wav" loop="false" width="300" height="90" hidden="false" autostart="false"> </embed> Amigo desculpe minha falta de conhecimento :), mas onde incluo este código, em qual lugar da minha pagina, e tambem gostaria de ver se estou certo, : você me mandou o código ali (Valeu :)), eu altero apenas..... embed name="lostmojo" (coloco o meu arquivo que tenho aqui né)? src="/web_design/lostmojo.wav"(seria o arquivo da musica)? Tambem gostaria de saber se é só colocar o código e fazer as alterações e pronto, pq quando eu tentei colocar o código aqui ai apareceu um quadrado com uma imagem quebrada. Valeu s posts Morpheus Compartilhar este post Link para o post Compartilhar em outros sites
Gabriel Jacinto 74 Denunciar post Postado Maio 25, 2012 Se você quiser a música de fundo, aenas coloque na tag body: <body bgsound="url_da_musica.mp3"> Agora se quiser colocar um player do Windows Media Player e pode-se colocar em qualquer lugar da página: <embed src="url_da_musica.mp3" width="480" name="player" height="45"></embed> Compartilhar este post Link para o post Compartilhar em outros sites