7 lines
437 B
PHP
7 lines
437 B
PHP
<video controls playsinline
|
|
@if (($preload ?? 'metadata') !== '') preload="{{ $preload ?? 'metadata' }}" @endif
|
|
@if (filled($poster ?? null)) poster="{{ $poster }}" @endif
|
|
@if (filled($class ?? null)) class="{{ $class }}" @endif
|
|
@if (filled($style ?? null)) style="{{ $style }}" @endif
|
|
@if (($playback['mode'] ?? 'file') === 'hls') data-hls="{{ $playback['url'] }}" @else src="{{ $playback['url'] }}" @endif></video>
|