@section('title', __('core::app.file_preview')) @push('head') @endpush
{{ __('core::app.file_preview') }}
@if ($media->aggregate_type === 'image') {{ $media->basename }} @elseif($media->aggregate_type === 'pdf')
@elseif($media->mime_type === 'text/plain')
{{ $media->contents() }}
@elseif($media->aggregate_type === 'video' && $media->isHtml5SupportedVideo())
@elseif($media->aggregate_type === 'audio' && $media->isHtml5SupportedAudio()) @else {{ __('core::media.no_preview_available') }} @endif
{{ $media->basename }}