SRCDS Steam group


Embedding media player in MOTD
#1
I was trying but it never works. It doesnt show the MOTD anymore.

<!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=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
body,td,th {
color: #FFFFFF;
font-family: Tahoma;
font-size: 18px;
}
.style2 {color: #FFFFFF}
.style3 {
font-size: xx-large;
color: #791A1C;
}
.style7 {
font-family: "Times New Roman", Times, serif;
font-style: italic;
font-size: large;
}
.style13 {color: #CC0000}
.style22 {
font-size: large;
font-family: "Times New Roman", Times, serif;
}
.style28 {font-style: italic; color: #FFFFFF; font-weight: bold;}
-->
</style>
</head>
<a href="<img src="http://roaclan.com/images/Glitched.jpg"></a>
<body>
<p align="center" class="style7"><strong>WELCOME TO GLITCHED SYSTEMS ZOMBIES!</strong></p>
<p align="center" class="style7"><strong>RULES:</strong></p>
<p align="center" class="style7"><span class="style22"><strong>1.) TEAMWORK </strong></span> </p>
<p align="center" class="style22"><span class="style28">2.) No spawn Camping! </span></p>
<p align="center" class="style22"><span class="style28">3.) Do not say &quot;Kill Me&quot; </span></p>
<p align="center" class="style22"><span class="style28">4.) No Hacking</span></p>
<p align="center" class="style22"><span class="style28">5.) No Porn Sprays</span></p>
<p align="center" class="style22"><span class="style28">6.) No Admin Abusing</span></p>
<p align="center" class="style22"><span class="style28">7.) Have Fun and enjoy!</span></p>
<p class="style2">&nbsp; </p>

<object id="MediaPlayer1" width=180 height=200
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject" align="middle">
<param name="FileName" value="Server/file">
<param name="ShowStatusBar" value="True">
<param name="DefaultFrame" value="mainFrame">
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="http://72.148.86.179:8000" align="middle"
width=176
height=144
defaultframe="rightFrame"
showstatusbar=true>
</embed>

</body>
</html>

Thats what I have right now

Reply
#2
ok simple simple. i had the same problem. I server i played on has music when u join (Robos 24/7 office) and so i went searchin on there website for there motd page. I found it at http://www.theirwebpage.com/motd.html (not a real webpage) and i right clicked and hit view page source. I saw the embed coding for a song on that page so i added it to my motd. The code is:

<BGSOUND SRC="http://urltoyoursoundhere">

very simple. on my website i have some songs so i just change it around everyday with my multiple motd thing i did (see tutorials)

And there u go
[Image: brutalhonesty.png]
[Image: STEAM_0:0:16227482_tf2.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)