Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to play AVI file using asp.net (C#)?
Posted
Comments
Sergey Alexandrovich Kryukov 3-Oct-13 2:58am    
Zoltán Zörgő 3-Oct-13 3:02am    
USB detection???? How that :)
Sergey Alexandrovich Kryukov 3-Oct-13 9:05am    
I meant "http://whathaveyoutried.com". Fixed.
Thank you very much, Zoltán. :-)
—SA
P.S.: By the way, learning a bit of USB detection won't hurt, either... :-)
thatraja 3-Oct-13 3:06am    
SAK, I think you need a coffee now :D
Sergey Alexandrovich Kryukov 3-Oct-13 9:06am    
Sure; will have some at work — too much work last night... :-)
—SA

I suppose you want to play it on client side. In that case does not matter what programming language you use on server side.
First of all, AVI is not the best choice, because it is only a container that can hold streams encoded with many different codecs. And might not be supported on all platforms. So you have to take the client side into consideration. So forget avi.
If you want a wider audience, you can use HTML5 native video support, with fallback to flash. For that you can use this little one: http://www.videojs.com/[^]
If you stick to AVI, you will be bound to several platforms, and you need to have a good common plugin (not codec) installed on each and every client, like VLC provices: https://wiki.videolan.org/Documentation:WebPlugin/[^], but I discourage you in taking this path.
 
Share this answer
 
Comments
amnk.info 3-Oct-13 3:16am    
my user requested in AVI format. so i have to try to do it.. :(
Zoltán Zörgő 3-Oct-13 3:27am    
Not all user requirements makes sense. It is up to you do direct them into the right direction. By the way, having AVIs uploaded does not mean that you need to display them as AVIs. You can use conversion on server side.
amnk.info 3-Oct-13 3:17am    
Thanks for your reply and advise Zoltán Zörgő. nice explanation
thatraja 3-Oct-13 3:37am    
Right, 5!
Zoltán Zörgő 3-Oct-13 5:20am    
Thank you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900