Archived from the Transloadit support forum. Originally posted on November 22, 2013; details may be outdated, see our docs for current behavior. Original thread
Hi all,
We would like to ask if it’s possible to include metatag info when flash files (swf & flv) are uploaded. With this feature we will be able to check flash Width, Height and Duration as we already do with images.
The idea is just be able to use flv & swf metatags to filter.
Imagine i want to upload flv&swf files that have width < 250 only.
If transloadit can read flv&swf files meta, i will be able to use it.
These info is for read only and compare on upload like we already do with png,jpg files.
Are you sure?
When i upload an png or jpg file, transloadit automagically show file meta info on assembly result. But when is a swf or flv file i don’t see any meta info.
Hi Tim,
Now, i can see file meta info but i cannot use it on file/filter.
If i setup a file/filter to only accept file when duration is bigger that 2 (minutes) and i upload a swf with less than 2 minutes i don’t get any error.. and it should.
Take a look to template id REDACTED
It has: .. “robot”: “/file/filter”, “accepts”: [[“${file.ext}”,“==”,“swf”],[“${file.meta.duration}”,“>”,2]
but if swf file has 0.03 duration i don’t get an error message.