Title: Security error?
Last modified: August 20, 2016

---

# Security error?

 *  Resolved [smlombardi](https://wordpress.org/support/users/smlombardi/)
 * (@smlombardi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/security-error/)
 * I just tried to upload all 3 video formats. 2 worked fine but this had an error:
 * “HolidayAnimation_Intranet.webmsd.webm” has failed to upload due to an error
   
   Sorry, this file type is not permitted for security reasons.
 * [http://wordpress.org/extend/plugins/html5-videos/](http://wordpress.org/extend/plugins/html5-videos/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [powercat74](https://wordpress.org/support/users/powercat74/)
 * (@powercat74)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/security-error/#post-3248535)
 * If you are on a single installation of WordPress, add this to your wp-config.
   php file in the root of the site:
 * define(‘ALLOW_UNFILTERED_UPLOADS’,true);
 * If you are on a network installation, add .webm to the list of allowed file types
   under the Network Administration page.
 * Thanks!
 * Dustin
 *  [whatachamp](https://wordpress.org/support/users/whatachamp/)
 * (@whatachamp)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/security-error/#post-3248614)
 * Even after doing that, the visual editor won’t recognise the .webm file I uploaded.
 *  Plugin Author [powercat74](https://wordpress.org/support/users/powercat74/)
 * (@powercat74)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/security-error/#post-3248623)
 * You can add this to your functions.php file. It will define all three formats
   as acceptable:
 * function add_webm_mime_for_upload($mimes) {
    $mimes = array_merge($mimes, array(‘
   webm’ => ‘video/webm’, ‘mp4’ => ‘video/mp4’, ‘ogv’ => ‘video/ogg’ ));
 *  return $mimes;
    } add_filter(‘upload_mimes’, ‘add_webm_mime_for_upload’);
 * More information can be found here: [http://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes](http://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Security error?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/html5-videos_fb5029.svg)
 * [HTML5 Videos](https://wordpress.org/plugins/html5-videos/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/html5-videos/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/html5-videos/)
 * [Active Topics](https://wordpress.org/support/plugin/html5-videos/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html5-videos/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html5-videos/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [powercat74](https://wordpress.org/support/users/powercat74/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/security-error/#post-3248623)
 * Status: resolved