.: Easy Soft Technologies :.

February 26, 2008

How To Embed The Video In ASP.NET

Filed under: Programming

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 Comment »

The URI to TrackBack this entry is: http://easysoft.blogsome.com/2008/02/26/how-to-embed-the-video/trackback/

  1. Test comment

    Comment by easysoft — May 16, 2008 @ 10:04 am

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



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

Get free blog up and running in minutes with Blogsome
Theme designed by Jay of onefinejay.com