#90545Add videofile_ext, audiofile_ext and applicationfile_ext
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 :)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[FEATURE] Add videofile_ext, audiofile_ext and applicationfile_ext Resolves: #90545 Releases: main