Wähle das Vorschaubild am Medium und nutze es als Standard in der Anzeige und in Modulen.
Deploy Test / test (push) Successful in 28s
Deploy Test / deploy (push) Successful in 39s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 21:34:11 +01:00
1 parent f86032cb5f
commit 8e77defaca
18 files changed
+664 -26

No files matched your search

+2 -1
View File
@@ -1,11 +1,12 @@
@php
$metadata = is_array($version->metadata) ? $version->metadata : [];
$class = $version->element->output_class;
$poster = \App\Domain\Media\ThumbnailRef::url('editorial.card', 'element', $version->element->id, $version->element->thumbnail_path);
@endphp
@if ($fileUrl)
@if ($class === 'film')
<video controls preload="metadata" playsinline src="{{ $fileUrl }}" style="width: 100%; max-height: 70vh; background: #111;"></video>
<video controls preload="metadata" playsinline @if ($poster) poster="{{ $poster }}" @endif src="{{ $fileUrl }}" style="width: 100%; max-height: 70vh; background: #111;"></video>
@elseif ($class === 'audio')
<audio controls preload="metadata" src="{{ $fileUrl }}" style="width: 100%;"></audio>
@elseif ($class === 'bild')