Silverstripe/s3 only for specific mime types

Silverstripe Version:
5.2

Question:

Hi there, we are looking to host MP4 and MP3 videos in an S3 bucket. I can see this module silverstripe/s3 has this mimeTypeDetector as a config option.

Does anyone know if that will only upload values passed to that e.g. video/mp4 and audio/mpeg.

Thanks!
Jack

The answer is right in the readme:

This replaces the built-in local asset store that comes with SilverStripe with one based on S3.

That module will store all uploaded assets in the S3 bucket, completely replacing the default filesystem storage.

1 Like