I have a page where it allows my users to upload their videos through an html5 file upload form and a PHP script that saves file in a folder on server. All works fine. But when it is displayed using video tag, it simply does not play ! I do get the player but file does not play.
Can this be a codec issue ? Because when I check the saved file with Gspot, it shows codec as mp4v. And I seem to have read somewhere that this needs to be something else. If my train of thought is right,then how do I ensure uploaded video files adhere to codec formats before being saved ?
I have furnished the code in the following question
http://stackoverflow.com/questions/24231108/uploaded-videos-do-not-play-with-video-tag
Been breaking my head for a long time. tried googling a lot. Ended nowhere. Any help at the earliest will be appreciated.