﻿id	summary	reporter	owner	description	type	status	priority	component	resolution	keywords	cc
6	MIME type regex too restrictive	change500	niallkennedy	"The transcoder does not accept uploads unless the mime-type starts with ""video"" - however, some browsers, such as Firefox, set the mime-type to ""application"" for m4v and mp4 files.

Video-lib.php around line 110
// Existing
if ( false === strpos( get_post_mime_type( $post_id ), 'video/' ) ) 
return false;

// Updated
if ( false === strpos( get_post_mime_type( $post_id ), 'video/' ) &&
		 false === strpos( get_post_mime_type( $post_id ), 'application/' )) 
return false;


around line 350 video-lib.php

// Existing
function is_video( $post_id ) {
return ( 0 === strpos( get_post_mime_type( $post_id ), 'video/' ) );
}

// Updated
function is_video( $post_id ) {
return ( 0 !== strpos( get_post_mime_type( $post_id ), 'video/' ) ||
         0 !== strpos( get_post_mime_type( $post_id ), 'application/' ) );
}"	defect	closed	minor	wordpresscom-video-server	fixed	mime	
