ldc-volena/resources/views/fo/modules/video-frame.blade.php
2024-03-20 12:57:46 +01:00

7 lines
537 B
PHP

@php $uniqueID = uniqid(); @endphp
<a class="position-relative video-frame" data-newtab="{{ $linkNewTab }}" href="{{ $link }}"
@if (!$linkNewTab) data-type="{{ $type }}" data-frame="{{ route('fo.frame', ['frame' => $type]) }}" @else target="_blank" @endif>
<img class="video-thumbnail ratio ratio-16x9 rounded-4" src="{{ $picture }}" title="{{ $title }}" alt="{{ $alt }}">
<i
class="video-play-button fa-solid fa-circle-play position-absolute top-50 start-50 translate-middle fa-2xl text-tertiary bg-white"></i>
</a>