Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress

97554[FEATURE] Introduce remote media providers

Benni Mack CR 0 V -1 Expert +2242 −125 updated 11/11/26, 16:37

Commit message

Media hosted on a remote platform, such as YouTube or Vimeo videos,
is now connected via remote media providers, registered with the
new #[AsRemoteMediaProvider] attribute.

A provider only talks to the remote platform: it parses the media
ID from a URL and fetches the public URL, metadata and preview
image. Creating the file, detecting duplicates, reading the media
ID and storing preview images is done by the new RemoteMediaService,
which all consumers in core use now.

Files are still created via the regular FAL API, so the indexer,
metadata extraction and file events run as for any other file. The
media ID of a file is read once per request instead of on every
call, as the previous helper instances were never reused.

Helpers registered in onlineMediaHelpers keep working and take
precedence over a provider of the same file extension.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/54/97554/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/54/97554/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Relation chain 3

  1. main 97556[FEATURE] Store remote media preview images as processed files Based on this change Work in progress Merge conflict Benni Mack CR 0 V -1 Hard +340 −53
  2. main 97555[TASK] Deprecate online media helpers Based on this change Work in progress Merge conflict Benni Mack CR 0 V -1 Hard +452 −24
  3. 97554 [FEATURE] Introduce remote media providers This change

Files 41

Show 21 more files

Review log 12

  1. Benni Mack uploaded patch set 1 11/11/26, 15:59

  2. core-ci voted on patch set 1 V -1 11/11/26, 16:37 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114119