.webm content type

I am trying to add the file type .webm to the MODX cms. I have therefore added the .webm to my .htaccess file and via the content type option in MODX (3.0.2-pl)

Added this to my .htaccess file. :page_facing_up:

AddType video/webm .webm
AddType video/webm .webmhd.webm
AddType video/webm .webmsd.webm

And added this to my content types.

Still, I can not upload the .webm extension files. :question:

You’ll need to add that to the upload_files system setting.

The content types in MODX are about the types your resources can be, not what files are allowed.

@markh Thanks for the tip, it’s also in the Uploadable File Types, Uploadable Image Types (webp) and the Uploadable Media Types.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.