Oihana PHP

VideoMimeTypeTrait

The trait to register all video mime types.

This trait provides constants for widely used video MIME types, which can be used to validate or set content-type headers safely.

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

AVI  = 'video/x-msvideo'
FLV  = 'video/x-flv'
M4V  = ['video/x-m4', 'video/mp4v']
MKV  = 'video/x-matroska'
MOV  = 'video/quicktime'
MP4  = 'video/mp4'
MPEG  = 'video/mpeg'
MPG  = 'video/mpeg'
WEBM  = 'video/webm'
WMV  = 'video/x-ms-wmv'

Constants


        
On this page

Search results