I'd like to allow my application to permit .vtt files on upload. Right now it was only accepting .txt files, but I'd like to add .vtt capability for captions.
I've tried this *with no luck:
validates_attachment_content_type :caption,
:content_type => ['application/txt', 'text/plain', 'WEBVTT', 'application/vtt', 'vtt']
What is the proper format in this case?
text/vtt
: w3c.github.io/webvtt/#webvtt-file – Arduous