You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php

18 lines
633 B
PHTML

<section class='AutoPlayClips'>
<div class="{{gfx()['container']}}">
<h1>
{{getSetting($data->area->name.'_'.$data->part.'_title')}}
</h1>
<div class="autoplay-clip-list">
@foreach(\App\Models\Clip::where('status',1)->get() as $clip)
<div class="autoplay-clip-item">
<a href="{{$clip->webUrl()}}">
<video src="{{$clip->fileUrl()}}" poster="{{$clip->imgUrl()}}" muted ></video>
</a>
{{-- <img src="{{$clip->imgUrl()}}" alt="">--}}
</div>
@endforeach
</div>
</div>
</section>