Putting a video on my website

Discussion in 'ASP.NET / ASP.NET Core' started by PR Sports, Aug 5, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi guys and gals!

    I've spent the better part of my day today trying to find a simple and easy way to put a video on my website and have not been able to come up with an answer, so now I'm coming to you.

    I am using VWD 2008 and the file I'm using is a .avi file, but I can try to change that if it's a huge deal. I just want a simple and easy way to put a video on my webpage.

    Can anyone help?

    Thanks
     
  2. Hi,
    Well, I guess I'm the right guy to ask that. ;-)
    What coding? ASP.NET? Tell me how you want it and I'll post some code.
    If you want it converted to another format I can do that for you also.
    Putting AVI on a page is getting rather risky, you will do better with WMV or MP4.
    I can also convert it to Flash or Silverlight.
    All the best,
    Mark
     
  3. Hi Mark,

    Thanks for the quick response. Yes, asp.net. I have read that if I do silverlight than the person trying to view also has to have silverlight, so I'd like to stay away from that for now. Other than that, I guess I will leave it up to you. I would like to have a simple set of code to make it work, and then something that will look good and be easy to use for the user. Hope that makes sense.

    Thanks!
     
  4. ...OK, I'll create an ASP.NET AVI example and attach it soon.
    Today is Win7 day, gonna be crazy for sure. ;-)
     
  5. Thanks Mark.

    I'll be looking for it
     
  6. ...Example is attached.

    I did not include the sample AVI, it was 158MB for 60 seconds.
    Just another reason to not use AVI on the Web. ;-)

    In the attached example there is a Default.aspx file which plays the AVI.
    The AVI itself will be in the media folder, with the JavaScript that's there.
    If you look at each code file you'll see the checks and balances.
    Everything should make sense, much of it is commented.
    All the best,
    Mark
     

    Attached Files:

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page