@if(count($media)>1) @foreach($media as $item) @if($item['type'] == "mp4")
@else
@endif @endforeach @else @if(isset($media[0]) && $media != '') @if($media[0]['type'] == "mp4")
@else
@endif @else
@endif @endif