Module: Mexico::Constants::MediaTypes

Defined in:
lib/mexico/core/media_type.rb,
lib/mexico/core.rb

Overview

This module contains constants for the different media types available in the MExiCo context.

Constant Summary collapse

VIDEO =

Digital recordings of moving pictures, usually along with sound.

Mexico::Core::MediaType.new :identifier => "video",      :name => "Video",      :extensions => %w(mov avi mpg mpeg m4v webm mts)
AUDIO =

Digital sound recordings.

Mexico::Core::MediaType.new :identifier => "audio",      :name => "Audio",      :extensions => %w(wav ogg aac mp3)
ANNOTATION =

Different transcription and annotation file formats.

Mexico::Core::MediaType.new :identifier => "annotation", :name => "Annotation", :extensions => %w(toe ShortTextGrid TextGrid eaf)
OTHER =

Placeholder for all other (yet unsupported) types.

Mexico::Core::MediaType.new(:identifier => "other",      :name => "Other",      :extensions => %w())
ALL =

This is a collection of all media types currently implemented.

Array.new