Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Video player Web
Hi ,
i have application in which user can upload and play play any kind of format video file into his profile just like Facebook.i have tried so may code like embed,video,etc
but it has limited file support say some file are not running example .3gp etc,i got some information about vlc player but unable to find any web based example to play all video types.

so please share me any working web based example which can play all video format.

you can also suggest me any good web player and integration of its with asp.net application
Posted 27-Apr-12 4:01am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You must ensure that your web server supports the video format that you use. If you find that your video plays OK on your local computer, but doesn't play on your live web server, it's probably because the live web server isn't configured properly for your video format. You need to ensure your web server supports the MIME type of your video.

The best option : When the user uploads the video to your site, then you need to process it and convert it to the format which is supported by your webserver. Then whenever the video is requested by the user , it can be played in the browser.

There is currently no any universal player for the browser which can play thousands of video formats available out there.
  Permalink  
Comments
ahp-1984 at 7-May-12 3:20am
   
Thanks dear,Nice Answer
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

string myobj = "";
myobj += "<video width="462" controls="controls" data-setup="{}">";
myobj += "";
myobj += "Your browser does not support video";
myobj += "</object>";
myobj += "</video>";

Imran Pervez
MCPD/MCTS
Indore
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 490
1 Sergey Alexandrovich Kryukov 395
2 Maciej Los 285
3 ProgramFOX 265
4 CHill60 200
0 OriginalGriff 490
1 Sergey Alexandrovich Kryukov 395
2 Maciej Los 285
3 ProgramFOX 265
4 CHill60 200


Advertise | Privacy | Mobile
Web01 | 2.8.150331.1 | Last Updated 18 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100