Module: Alchemy::Filetypes

Included in:
Attachment
Defined in:
lib/alchemy/filetypes.rb

Constant Summary collapse

ARCHIVE_FILE_TYPES =
["application/zip", "application/x-rar"]
AUDIO_FILE_TYPES =
[
  "audio/mpeg",
  "audio/mp4",
  "audio/wav",
  "audio/x-wav"
]
IMAGE_FILE_TYPES =
[
  "image/gif",
  "image/jpeg",
  "image/png",
  "image/tiff"
]
VCARD_FILE_TYPES =
["text/x-vcard", "application/vcard"]
VIDEO_FILE_TYPES =
[
  "application/x-flash-video",
  "video/x-flv",
  "video/mp4",
  "video/mpeg",
  "video/quicktime",
  "video/x-msvideo",
  "video/x-ms-wmv"
]