Feature #90545
openAdd videofile_ext, audiofile_ext and applicationfile_ext
0%
Description
I've seen there is already https://forge.typo3.org/issues/90305... Perhaps the following might be another improvement:
Currently there is no variable for plain "audio", "video" or "application" file extensions. So getFalFieldTcaConfig()'s 3rd parameter needs to get passed hardcoded when dealing only with those certain file types. This is not upgrade-safe.
By introducing an additional "videofile_ext", "audiofile_ext" and "applicationfile_ext" variable, backend definitions could be done straight with frontend behaviour (fluid media rendering). The abstract file class already contains all 5 types...
\TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE
\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO
\TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION
...and perhaps in near future, FSC's integrated media rendering will be extended with the missing types related to this :)
Updated by Georg Ringer over 4 years ago
- Target version changed from 10 LTS to Candidate for Major Version