• Hi

    I cannot upload the .webm video format.
    This is after adding:
    AddType video/webm .webm

    into both:
    my .htaccess file (on the root folder of the wordpress installation)
    the mime type handler of our apache server (via our site cpanel)

    As far as i remember, at first this message instantly gave me the error, it would even begin uploading it. Now it uploads it all the way and then while crunching, i get the error.

    The error is

    “1.webm” has failed to upload due to an error
    File type does not meet security guidelines. Try another.

    Has anyone else had this problem?!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rgbk

    (@rgbk)

    More info:

    What’s really peculiar is that another video format called ogv (Theora) was not being recognised in the html5 player, BUT it wasn’t breaching security according to wordpress.
    So I added the mimetype to the apache (not via htaccess) and voila, it worked.

    I think this is a bug within wordpress, surely?

    Thread Starter rgbk

    (@rgbk)

    Bump, seriously, no one has ever needed to use webm on wordpress?

    There’s a ticket in at the moment to address this error message, but basically you need to edit the allowed mime types using a plugin such as https://blog.ftwr.co.uk/wordpress/mime-config/

    Or rather, your administrator would need to. If you’re the admin, I don’t think you should be seeing this message.

    Thread Starter rgbk

    (@rgbk)

    Hi there Mr Mist

    Thanks for letting me know.

    I am an admin! Thats the weird thing.

    I’ll take a look at this plugin.

    Best
    Marc

    Installing the plugin PJW Mime Config gives you a new options page –
    Options > Mime-types – which allows you to add/delete the extra mime-types.

    Adding a File Extension “webm” with the Associated Mime Type “video/webm” solves the webm upload problem.

    I hope the WordPress team adds video/webm as an accepted mime type to core in future versions of WordPress. I guess we’ll see a steep growth in usage with Googles marketing force behind the format.

    I have had the same issues with being unable to upload a webm file type – I also modified the Settings – Upload settings and added the webm extension as well as adding it to the type to my .htaccess file but had no luck. Finally, I stumbled across this forum and gave The PJW Mime Config a shot and it solved this issue in my current version of WordPress 3.1.3. I hope it works for 3.2 (will be upgrading to that soon).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uploading .webm format results in security guidline breach and fail’ is closed to new replies.