Oihana PHP

AudioMimeTypeTrait

The trait to register all audio mime types.

This trait provides constants for widely used audio 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

AAC  = 'audio/aac'
FLAC  = 'audio/flac'
M4A  = ['audio/mp4', 'audio/x-m4a']
MP3  = 'audio/mpeg'
OGG  = 'audio/ogg'
WAV  = 'audio/wav'
WMA  = 'audio/x-ms-wma'

Constants


        
On this page

Search results