Support » Plugin: HTML5 Videos » Security error?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author powercat74


    If you are on a single installation of WordPress, add this to your wp-config.php file in the root of the site:


    If you are on a network installation, add .webm to the list of allowed file types under the Network Administration page.



    Even after doing that, the visual editor won’t recognise the .webm file I uploaded.

    Plugin Author powercat74


    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:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Security error?’ is closed to new replies.