PDA

View Full Version : Putting a video on my website


PR Sports
08-05-2009, 07:09 PM
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

wisemx
08-05-2009, 07:24 PM
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

PR Sports
08-05-2009, 07:32 PM
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!

wisemx
08-06-2009, 06:51 AM
...OK, I'll create an ASP.NET AVI example and attach it soon.
Today is Win7 day, gonna be crazy for sure. ;-)

PR Sports
08-06-2009, 07:17 AM
Thanks Mark.

I'll be looking for it

wisemx
08-06-2009, 07:34 AM
...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