A
Aussie Rules
Hi,
I have the Windows media object placed on a web page.
Since its not a .net component (its a com object) I have placed the code in
the html source of the page. The problem I am having is that I get the url
of the video file i want to play in the asp.net code (form_load event). How
do I pass this value into the html...
Ie :
<html>
<html>
<object id=msnVwmp class=msnVa
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 style="width: 141px;
height: 141px">
<param name=uiMode value=full>
<param name=enableContextMenu value=false>
<param name=stretchToFit value=false>
<param name=windowlessvideo value=false>
<param name=url value="">
</object>
</htm>
In my ASPX Code behind file:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
strFileName = http://myurl.com/sample.avi
End Sub
Somehow I need to get the strFileName in my code behind file, into the param
url value field....
Thanks
I have the Windows media object placed on a web page.
Since its not a .net component (its a com object) I have placed the code in
the html source of the page. The problem I am having is that I get the url
of the video file i want to play in the asp.net code (form_load event). How
do I pass this value into the html...
Ie :
<html>
<html>
<object id=msnVwmp class=msnVa
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 style="width: 141px;
height: 141px">
<param name=uiMode value=full>
<param name=enableContextMenu value=false>
<param name=stretchToFit value=false>
<param name=windowlessvideo value=false>
<param name=url value="">
</object>
</htm>
In my ASPX Code behind file:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
strFileName = http://myurl.com/sample.avi
End Sub
Somehow I need to get the strFileName in my code behind file, into the param
url value field....
Thanks