I have a web page, which (among other things) needs to extract a specific frame from a user-uploaded video. The user seeks to a particular part of a .mp4 in the player, then clicks a button, and an ajax call gets fired off to a php script which takes the .mp4, and the exact time from the video, and uses
Tag: video
How to check a file is video type or not in php?
I have following script: My question is I want to detect a file is video(mp4 or mov)type, How i can detect $ff is a video type or not? Answer There you go, for case insensitive version of the extension