Project

General

Profile

Actions

Feature #90545

open

Add videofile_ext, audiofile_ext and applicationfile_ext

Added by Jan Kornblum over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Start date:
2020-02-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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 :)

Actions #1

Updated by Georg Ringer over 4 years ago

  • Target version changed from 10 LTS to Candidate for Major Version
Actions

Also available in: Atom PDF