AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Able to watch windows media player files in game? (https://forums.alliedmods.net/showthread.php?t=21985)

Jordan 12-15-2005 18:49

Able to watch windows media player files in game?
 
Yeah, so I made a plugin that enables you to watch a movie during the game. K so it works, and you can hear the movie, but you can't see it. It has nothing to do with the HTML coding, and nothing to do with the plugin coding (at least I don't think so). Are you just not able to watch movies during the game?????????????????????????

Help is appreciated :) ty :)

Charr 12-15-2005 21:12

You have to use an HTML supported MOTD (would be the only way to watch a movie)

Jordan 12-15-2005 21:29

Well... here is what I used:

Quote:

<div align=center>



<object id="MediaPlayer1" 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" width="440" height="330">
<param name="fileName" value="http://media1.Break.com/content/toomuchcs.wmv">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="false">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-10">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://media1.Break.com/content/toomuchcs.wmv" width=440 height=330 autostart=1 showcontrols=1 volume=-20></embed>
</object>
</p>
</div>
I also tried this:

Quote:

<html>
<param name='fileName' value="http://media1.Break.com/content/toomuchcs.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="true">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://media1.Break.com/content/toomuchcs.wmv" autostart="true" designtimesp='5311' loop="true">
</EMBED>
</OBJECT>
</td></tr>
<tr><td align='center'>
<a href="http://media1.Break.com/content/toomuchcs.wmv"
</td></tr>
</table>
</html>
The sound plays on both, but the video is black. >.<

pulpy 12-15-2005 21:37

its because the motd doesnt refresh itself i believe. Its the same thing setting it to show a flashwebsite. http://www.bbgameservers.com go there and take a look. I had that showing as my motd on connect, but it would apear with a white haze cause the guy used a fade to page to page thing. So thats my guess. Im sure if u click on the motd it'll refresh and prob show an image. Whenever i click on the bbservers website in the MOTD i saw the flash doing an animation (skipping cause it only refreshed when i clicked)

aLpiNe^cLuBz 12-15-2005 22:17

Nice idea. :D

Jordan 12-15-2005 22:40

Well, I tried right clicking on it in the MOTD, but it didn't show up a list or anything. I'll try your suggestion this weekend. Thanks :)


All times are GMT -4. The time now is 15:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.