I want to use the uploader to upload a .ogv video file, however I keep getting the error:
File type does not meet security guidelines. Try another.
Is there anyway to add add this file type?
I want to use the uploader to upload a .ogv video file, however I keep getting the error:
File type does not meet security guidelines. Try another.
Is there anyway to add add this file type?
Hi,
Check with these plugins:
http://wordpress.org/extend/plugins/kaltura-interactive-video/
http://wordpress.org/extend/plugins/all-in-one-video-pack/
If your uploaded video does not work then make sure that you have added required MIME Types on your hosting account.
Thanks,
Shane G.
There's no way to do it without a plugin? Couldn't write a function to define a new mime type or anything?
Thanks for your help!
maybe I think? (added to your theme functions.php
add_filter('upload_mimes', 'my_custom_mimes');
function my_custom_mimes ( $existing_mimes=array() ) {
// custom mime here
$existing_mimes['ogv'] = 'video/ogg';
// add more if needed
// and return the result with new mime
return $existing_mimes;
}This topic has been closed to new replies.