#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    305
    Rep Power
    0

    Display video (MWV, MPEG, AVI) on ASP.NET 2.0 site


    Hi guys,

    How can I display video (MWV, MPEG, AVI) on my asp.net 2.0 site ?

    If I need to buy anything thing. Please let me know. And I can buy it.

    Thanks,

    Jimmy
  2. #2
  3. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Mar 2005
    Location
    Tír na nÓg
    Posts
    1,198
    Rep Power
    178
    I've been looking about for the same thing.
    Seems as though you can't do it - streaming that is.
    That's what you mean isn't it?

    You gotta have Windows Server 2003.
    Here's an example.

    I did see a way of doing it on XP using .flv files - no linky - sorry.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    305
    Rep Power
    0
    Originally Posted by prcAdap
    I've been looking about for the same thing.
    Seems as though you can't do it - streaming that is.
    That's what you mean isn't it?

    You gotta have Windows Server 2003.
    Here's an example.

    I did see a way of doing it on XP using .flv files - no linky - sorry.
    Hi prcAdap, thanks for your reply! Below is the code how to run/display a video in an ASP.NET 2.0 page.


    Code:
    <object id="VIDEO" width="320" height="240" 
        style="position:absolute; left:0;top:0;"
        classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
        type="application/x-oleobject">
        
        <param name="URL" value="Videos/thesimpsonsmovie.mpeg" />
        <param name="SendPlayStateChangeEvents" value="True" />
        <param name="AutoStart" value="True" />
        <param name="uiMode" value="full" />
        <param name="PlayCount" value="9999" />
    </object>
    I have test the this code using wmv, mpeg, avi, and flv videos. And this code works.

    may

    Comments on this post

    • prcAdap agrees : Nice find!
  6. #4
  7. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Mar 2005
    Location
    Tír na nÓg
    Posts
    1,198
    Rep Power
    178
    I got put off by the Server 2003 when hunting for this.
    It isn't needed by me for a website I'll make any money developing so didn't bother too hard to be honest.
    Good job on your find!!
    Oh, and thanks for coming back and posting the solution you found.
    You wouldn't believe how often that happens!!

  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    305
    Rep Power
    0
    Originally Posted by prcAdap
    I got put off by the Server 2003 when hunting for this.
    It isn't needed by me for a website I'll make any money developing so didn't bother too hard to be honest.
    Good job on your find!!
    Oh, and thanks for coming back and posting the solution you found.
    You wouldn't believe how often that happens!!

    You are welcome!

    thanks,
    may
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2005
    Posts
    297
    Rep Power
    20
    That object code you listed above has nothing to do with ASP.Net, you could use it on a plain and simple HTML page if you wanted. I would say take a look at Silverlight, it has a built in video streamer designed for working in conjunction with ASP.Net.

IMN logo majestic logo threadwatch logo seochat tools logo