优化:首页装修页面视频播放器优化 - 显示相关控件
This commit is contained in:
parent
7f31190de9
commit
3a7aacb474
|
|
@ -13,9 +13,9 @@
|
|||
<div class="swiper-slide">
|
||||
<a href="{{ $image['link']['link'] ?: 'javascript:void(0)' }}" class="d-flex justify-content-center">
|
||||
@if(in_array(pathinfo($image['image'])['extension'],['mp4']))
|
||||
<video src="{{ $image['image'] }}" class="img-fluid" muted autoplay loop>
|
||||
<video src="{{ $image['image'] }}" class="img-fluid" controls autoplay loop muted>
|
||||
@else
|
||||
<img src="{{ $image['image'] }}" class="img-fluid">
|
||||
<img src="{{ $image['image'] }}" class="img-fluid">
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue