0
Video and audio type
How can I recognise the type of audio or video?
6 Answers
+ 2
If you mean the mime type of the media file, you can refer this for a start
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
Those are mime types and the respective file extensions commonly used.
+ 2
What's the context in which you're trying to recognise the file?
Maybe you could use regex to search the name for the file extension.
+ 1
Ausgrindtube thanks
+ 1
There are many differnt type of audio and video each one them has many type and the source and the control is differnt such us autoplay and loop and so on but in order to check the source for each video or audio you can put two typs or more to check if it supported
+ 1
Ali Alrahem Thanks
0
Ipang I mean mp4 , ogg, mp3 and so more