Raised This Month: $ Target: $400
 0% 

Play video in a motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Piranja
Junior Member
Join Date: Jul 2011
Old 05-12-2012 , 06:52   Play video in a motd
Reply With Quote #1

Is it possible to play video in a motd window?
Piranja is offline
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 05-12-2012 , 07:01   Re: Play video in a motd
Reply With Quote #2

I think It is a NO. But you can make it with .gif images.
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King is offline
Piranja
Junior Member
Join Date: Jul 2011
Old 05-12-2012 , 07:14   Re: Play video in a motd
Reply With Quote #3

khm, you think i can make animation in .gif format and than play it like a video? nice idea
Piranja is offline
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 05-12-2012 , 07:52   Re: Play video in a motd
Reply With Quote #4

A video you can test but i think it's just ... Impossible :S

.gif is possible.
__________________
Pawn ? Useless
Aooka is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-12-2012 , 12:30   Re: Play video in a motd
Reply With Quote #5

It might be possible, try it out. It would require opening a webpage on a public web server.
__________________
fysiks is online now
8088
Veteran Member
Join Date: Jan 2008
Old 05-12-2012 , 20:35   Re: Play video in a motd
Reply With Quote #6

The Goldsource motd uses IE to render HTML. I'm not sure which version/engine it currently uses and possibly it may depend on the client's OS, but that should be easy to find out (redirect to a script that reads the user agent). I'm fairly certain the object element (with the appropriate CLASSID) can be used, just as with mp3 files and streaming radio. Loading a remote webpage isn't required, because it's still the same engine that has to render the page. The video however has to be plublicly hosted.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 05-15-2012 , 06:53   Re: Play video in a motd
Reply With Quote #7

not possible. I tried all methods
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
8088
Veteran Member
Join Date: Jan 2008
Old 05-15-2012 , 17:16   Re: Play video in a motd
Reply With Quote #8

Turns out you're right. I was curious, so I tried several object methods with all kinds of params, and all they do is play the sound and show controls below a blank player screen.

In case anyone else wants to give it a try, this is how I was identified in CS 1.6 on Win7 x64:
Code:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322)
browscap.ini:
Code:
browser_name_regex:§^mozilla/4\.0 \(compatible; msie 7\.0.*; .*windows nt 6\.1.*\).*$§
browser_name_pattern:Mozilla/4.0 (compatible; MSIE 7.0*; *Windows NT 6.1*)*
parent:IE 7.0
platform:Win7
platform_version:6.1
platform_description:Windows 7
comment:IE 7.0
browser:IE
version:7.0
majorver:7
minorver:0
win32:1
frames:1
iframes:1
tables:1
cookies:1
backgroundsounds:1
javascript:1
vbscript:1
javaapplets:1
activexcontrols:1
cssversion:2
device_name:PC
device_maker:Various
alpha:
beta:
win16:
win64:
ismobiledevice:
issyndicationreader:
crawler:
aolversion:0
renderingengine_name:unknown
renderingengine_version:unknown
renderingengine_description:unknown
objects:
HTML Code:
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="320" height="240">
  <param name="url" value="http://lol.com/video_file.wmv" />
  <param name="src" value="http://lol.com/video_file.wmv" />
  <param name="showcontrols" value="true" />
  <param name="autostart" value="true" />
</object>
HTML Code:
<object type="video/x-ms-wmv" data="http://lol.com/video_file.wmv" width="320" height="240">
  <param name="url" value="http://lol.com/video_file.wmv" />
  <param name="src" value="http://lol.com/video_file.wmv" />
  <param name="autostart" value="true" />
  <param name="controller" value="true" />
</object>
The good news is that it would look like shit anyway.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Costin83
Senior Member
Join Date: Jul 2008
Location: Romania
Old 05-17-2012 , 16:25   Re: Play video in a motd
Reply With Quote #9

try an autorefresh iFrame in background. I found this the only solution to display video...
__________________
Originally Posted by Hawk552
Actually, if your style pisses me off enough, I'll generally go through your code and find some reason to unapprove it or at least hold it back.
Costin83 is offline
Send a message via Yahoo to Costin83
8088
Veteran Member
Join Date: Jan 2008
Old 05-17-2012 , 17:30   Re: Play video in a motd
Reply With Quote #10

An iframe or redirect won't make any difference. It's still the same engine that has to render it all. If you got it to work, it must've been the code that was different.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:34.


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