#107120Why should we keep real files for online media?
Description
TYPO3 could actually just remove the need to store physical stub files for youtube or vimeo files?
Reviews 1
History 47
-
Gerrit Code Review pushed patch set 1 for main to change 90107 status
NewUnder Review <span data-processor="relativetime" data-value="2025-07-21T17:13:49+00:00" > 07/21/25, 17:13 </span> -
Francois Suter commented <span data-processor="relativetime" data-value="2025-10-30T11:24:58+00:00" > 10/30/25, 11:24 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 90107 <span data-processor="relativetime" data-value="2025-10-30T11:32:17+00:00" > 10/30/25, 11:32 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 90107 <span data-processor="relativetime" data-value="2025-10-30T20:30:53+00:00" > 10/30/25, 20:30 </span>
-
Oliver Hader changed target version <span data-processor="relativetime" data-value="2026-01-23T12:29:49+00:00" > 01/23/26, 12:29 </span>
-
Benni Mack changed target version <span data-processor="relativetime" data-value="2026-03-31T09:05:26+00:00" > 03/31/26, 09:05 </span>
-
Benni Mack changed target version <span data-processor="relativetime" data-value="2026-04-21T11:23:01+00:00" > 04/21/26, 11:23 </span>
This would be a really great feature. Here are my thoughts, partly in answer to the questions in the commit message:
Filelist module
I’m not sure how the list is currently assembled, but we would get the list from the database, then check the corresponding folder for “physical” entries (to check if any is missing). For the virtual items, we could check for a 200 response, but that makes for a lot of request in list view, so maybe just display them as is (the information pop up could display issues; and of course the thumbnail generation would error too, but that’s cached, right?).
About thumbnails, see “Rendering” below
About actions and permissions: since every entry would be attached to a folder anyway, I don’t see a real issue about permissions. However some actions don’t make sense or need to be changed:
Rendering
We could have generic renderers, for example with images. All images can be handled in the same way, we don’t need a helper for each image type. What we need is the image processing service to be able to start from a remote image and not a local one. This can be used for both BE thumbnail and FE image view helper.
Media payload
Similar reflection as above. For example, for images, all we need is to store the URL of the image in the payload field. We don’t need any processing like extracting the YouTube code. Storing the URL would be the default behaviour.
So I think we still need helpers (both for uploading and usage), but there would be generic ones for certain file types. Maybe this applies only to images. Would it make sense to reference remote text files? Or other types?