How To Embed The Video In ASP.NET

February 26, 2008 – 6:15 pm

So many website now, that give us the streaming video. But we never know how to make like that. Now i will make it simple. Just copy the code below and you can get your video in your website.
To begin with this application create new website in VS2005. Add two controls one is label control and other is button control. Your .aspx source view page looks like this:

<object id="wmplayer" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-object" width=400 height=400>
    <param name="AutoStart" value="true"/>
    <param name="URL" value=" videolocation "/>
    <param name="ShowStatusBar" value="0"/>
    <param name="ShowControls" value="0"/>
    <param name="uiMode" value="full"/>
    <param name="DisplaySize" value="4"/>
    <param name="ShowCaptioning" value="0"/>
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/ Products/MediaPlayer/" SRC="mms://www.timmerwinkel.nl/winkel/video/512.asf" name="WMPlayer" ShowControls="0" ShowDisplay="0" ShowStatusBar="0"
width=400 height=400 />
<object/>

Just implement it and change the video location with your video location. I hope it can help you to embed your video in your website. Good luck and thanks.


  1. One Response to “<b>How To Embed The Video In ASP.NET</b>”

  2. Test comment

    By easysoft on May 16, 2008

Post a Comment


Anti-spam measure: please retype the above text into the box provided.