Windows Media Player - dynamic source from db
Posted on 2003-03-08
Hi, With graphics I have done this:
The some asp page sets its response.ContentType = "image/jpg" or whatever. This works fine.
What I want to do is the same thing but with the windows media player control. From what I have seen there are two parameters 'properties' :
<PARAM NAME="FileName" VALUE="some.asf"> works fine...however
<PARAM NAME="FileName" VALUE="some.asp"> does not even though I have set the ContentType to "video/x-ms-asf"
Is there some reason why this will not work??
here is the relevent code from my "some.asp"
Response.contenttype = "video/x-ms-asf"
The player page includes:
<PARAM NAME="FileName" VALUE="some.asp?uid=5">
Any done this before?