|
@@ -296,7 +296,7 @@
|
|
@if($dream['video'])
|
|
@if($dream['video'])
|
|
<div class="swiper-slide" style="width: 320px;height: 200px;">
|
|
<div class="swiper-slide" style="width: 320px;height: 200px;">
|
|
{{--poster="{{$dream->poster}}"--}}
|
|
{{--poster="{{$dream->poster}}"--}}
|
|
- <video poster="{{env('APP_URL').'/upload/vpic/'.$dream->dream_md5.'jpg'}}" style="width: 100%;height:200px;" src="{{(mb_substr( $dream['video'], 0, 4 )=='http') ? $dream['video']:env('APP_URL').'/attachment/'.$dream['video']}}" controls >
|
|
|
|
|
|
+ <video poster="{{env('APP_URL').'/upload/vpic/'.$dream->dream_md5.'.jpg'}}" style="width: 100%;height:200px;" src="{{(mb_substr( $dream['video'], 0, 4 )=='http') ? $dream['video']:env('APP_URL').'/attachment/'.$dream['video']}}" controls >
|
|
</video>
|
|
</video>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
@@ -430,7 +430,7 @@
|
|
|
|
|
|
<div class="box banner" >
|
|
<div class="box banner" >
|
|
{{--<video src="{{ $interaction['video'] }}" width="100%" style="max-height: 400px;" class="centerme" controls="controls"></video>--}}
|
|
{{--<video src="{{ $interaction['video'] }}" width="100%" style="max-height: 400px;" class="centerme" controls="controls"></video>--}}
|
|
- <video width="100%" poster="{{env('APP_URL').'/upload/vpic/'.$interaction->interaction_md5.'jpg'}}" style="max-height: 400px;" class="centerme" src="{{(mb_substr( $interaction['video'], 0, 4 )=='http') ? $interaction['video']:env('APP_URL').'/attachment/'.$interaction['video']}}" controls >
|
|
|
|
|
|
+ <video width="100%" poster="{{env('APP_URL').'/upload/vpic/'.$interaction->interaction_md5.'.jpg'}}" style="max-height: 400px;" class="centerme" src="{{(mb_substr( $interaction['video'], 0, 4 )=='http') ? $interaction['video']:env('APP_URL').'/attachment/'.$interaction['video']}}" controls >
|
|
</video>
|
|
</video>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|