diff --git a/MimeClass.inc b/MimeClass.inc index dacde76c..97825c41 100644 --- a/MimeClass.inc +++ b/MimeClass.inc @@ -175,6 +175,8 @@ class MimeClass { "movie" => "video/x-sgi-movie", "flv" => "video/x-flv", "swf" => "application/x-shockwave-flash", + 'mkv' => "video/x-matroska", + 'wmv' => 'video/x-ms-wmv', // audio: "mp3" => "audio/mpeg", "mp4a" => "audio/mp4", diff --git a/fedora_repository.module b/fedora_repository.module index 6b59ed9a..677fb8be 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -125,7 +125,7 @@ function fedora_repository_ingest_form_submit(array $form, array &$form_state) { module_load_include('inc', 'fedora_repository', 'CollectionClass'); module_load_include('inc', 'fedora_repository', 'CollectionPolicy'); module_load_include('inc', 'fedora_repository', 'ContentModel'); - +var_dump($form_state); $contentModelPid = ContentModel::getPidFromIdentifier($form_state['values']['models']); $contentModelDsid = ContentModel::getDSIDFromIdentifier($form_state['values']['models']); $err = TRUE;