An Array of 45 Video Mime Types

Looking for a list of valid video mime types? Here is a quick list that i’ve gathered so far.

<?php
$video_mime_types = array(
'application/annodex',
'application/mp4',
'application/ogg',
'application/vnd.rn-realmedia',
'application/x-matroska',
'video/3gpp',
'video/3gpp2',
'video/annodex',
'video/divx',
'video/flv',
'video/h264',
'video/mp4',
'video/mp4v-es',
'video/mpeg',
'video/mpeg-2',
'video/mpeg4',
'video/ogg',
'video/ogm',
'video/quicktime',
'video/ty',
'video/vdo',
'video/vivo',
'video/vnd.rn-realvideo',
'video/vnd.vivo',
'video/webm',
'video/x-bin',
'video/x-cdg',
'video/x-divx',
'video/x-dv',
'video/x-flv',
'video/x-la-asf',
'video/x-m4v',
'video/x-matroska',
'video/x-motion-jpeg',
'video/x-ms-asf',
'video/x-ms-dvr',
'video/x-ms-wm',
'video/x-ms-wmv',
'video/x-msvideo',
'video/x-sgi-movie',
'video/x-tivo',
'video/avi',
'video/x-ms-asx',
'video/x-ms-wvx',
'video/x-ms-wmx',
);
?>

If you feel or think that I missed some, don’t hesitate to share it in the comment box below.

Enjoy 🙂

Recommended Posts