{{-- // videos.blade.php For Dynamic Video display @extends('layouts.app') @section('content')
@foreach ($videos as $video)
@endforeach
@endsection --}}
Short Videos
See more
@foreach ($data['media'] as $postMedia) @if ($postMedia->file_type === 'image')
Image
@elseif ($postMedia->file_type === 'video')
@else

No media available

@endif @endforeach