Spiele Filme in allen Playern über die gespeicherte Qualitätsleiter.
Deploy Test / test (push) Successful in 25s
Deploy Test / deploy (push) Successful in 27s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 21:48:33 +01:00
1 parent 8e77defaca
commit 1fb48783bf
14 files changed
+202 -18

No files matched your search

@@ -344,12 +344,12 @@ public function pickerDetail(): ?array
return null;
}
$row['file_url'] = null;
$row['playback'] = null;
if (preg_match('/^element:(\d+)$/', (string) $row['target'], $match) === 1) {
$version = ContentElementVersion::query()->find($match[1]);
$row['file_url'] = $version instanceof ContentElementVersion
? app(ContentPreviewController::class)->fileUrl($version)
$version = ContentElementVersion::query()->with('element')->find($match[1]);
$row['playback'] = $version instanceof ContentElementVersion
? app(ContentPreviewController::class)->playback($version)
: null;
}