In addition to the last two post. I strongly suggest you to go through the link that I pasted below. It is a complete tuturial to teach web programers how to handle with the multimedia files on their page.
After reading it, I'm pretty sure you can play various kinds of multimedia files on your page, including both video and audio.
pathipati
Member
16 Points
314 Posts
display video in .net ( C# with Asp.net )
Jan 04, 2008 10:49 AM|LINK
Hi,
we are displaying image with image control but how we display video in .net ( C# with Asp.net )
Hope reply quickly
bullpit
All-Star
21838 Points
4822 Posts
Re: display video in .net ( C# with Asp.net )
Jan 04, 2008 12:07 PM|LINK
A simple way to do it would be to use HTML <object> tag.
<object id='mediaPlayer' width="320" height="285" 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'> <param name='fileName' value="video/MOV00479.MPG"/> <param name='animationatStart' value='true'/> <param name='transparentatStart' value='true'/> <param name='autoStart' value="true"/> <param name='showControls' value="true"/> <param name='loop' value="false"/> </object>Max
Let Me Google That For You!
gopalanmani
Star
7826 Points
1320 Posts
Re: display video in .net ( C# with Asp.net )
Jan 04, 2008 12:17 PM|LINK
You can display a sound:
Gopalan Mani
My Tech blog
Ivan Xin - M...
Contributor
6939 Points
484 Posts
Re: display video in .net ( C# with Asp.net )
Jan 07, 2008 03:59 AM|LINK
Hi pathipati,
In addition to the last two post. I strongly suggest you to go through the link that I pasted below. It is a complete tuturial to teach web programers how to handle with the multimedia files on their page.
After reading it, I'm pretty sure you can play various kinds of multimedia files on your page, including both video and audio.
http://www.w3schools.com/media/default.asp
Have fun.
Regards,
Ivan.
suvo
Member
2 Points
254 Posts
Re: display video in .net ( C# with Asp.net )
Aug 26, 2009 07:53 PM|LINK
You can this one:-
<object id="objMediaPlayer" width="320" height="282" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" standby="Loading Microsoft Windows Media Player components..." type = "application/x-mplayer2" VIEWASTEXT>
<param name="fileName" value="http://example.com/video.asp?file={5D550BAD-F77B-4442-BC0E-36B9AA6BEE73}&bitrate=384k&extension=WMV">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="volume" value="0">
<embed src="file.dat" width="320" height="282" volume="0" type="video/x-ms-wmv">
</object>