Forum Moderators: phranque

Message Too Old, No Replies

Media Server Scripting

How to script with Windows Media Sever

         

imptech

8:08 am on Feb 2, 2005 (gmt 0)

10+ Year Member



Hi,

Is there a way I can script with Windows Media Server
just like I can with apache and PHP?

For example in apache/php we can do something like:

[myserver.com...]

In windows media server I would love if I can do something like:

mms://mymediaserver.com/movies/movie_one.wmv?name=Rudi&type=full_member

I'm sure this must be possible.
I'd like to require and script with URL params before I send out a streaming movie.

Thanks for you time.
Best regards
Rudi

HughMungus

8:14 am on Feb 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you mean creating dynamic links? Not sure what you're wanting to do, exactly. Example?

imptech

8:32 am on Feb 2, 2005 (gmt 0)

10+ Year Member



Hi,

Well what I want to do is do some server side scripting
before I send a response.

Example:
[myserver.com...]

With this example I can write code on the index.php page
that goes something like:

if ( $_GET['name'] == "Rudi" ) { $isOK = true; }

With Windows Media server it is similar but
uses the mms:// protocol instead of http://

Example:
mms://mymediaserver.com/movie_one.wmv?name=Rudi

Here I would like to be able to script something
that goes like:

if ( request.name == 'Rudi' )
{ okToStream = true; }
else
{ okToStream = false; }

Is that possible.

I hope I have explained that OK.
Please let me know if I should provide more detail.

Thanks