Roots Discourse

Would anything in Trellis or Bedrock prevent uploading a webm file?

Trying to upload a webm file in the WP dash and keep getting this error:

Sorry, this file type is not permitted for security reasons.

I’ve tried adding

/**
 * Add .webm mime support
 */
add_filter('upload_mimes', function($mime_types){
    $mime_types['webm'] = 'video/webm';
    return $mime_types;
}, 1, 1);

to my filters.php

and even tried adding
define('ALLOW_UNFILTERED_UPLOADS', true);
to my config/application.php

with no luck. Is there anything I may be overlooking in regards to Trellis/Bedrock?

Thank you!

Disregard, it was an issue with a fields plugin. :expressionless:

This topic was automatically closed after 42 days. New replies are no longer allowed.