@extends('layouts.skin') @push('head') @endpush @section('title', __('app.file_preview')) @section('content')
{{ __('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

{{ __('media.no_preview_available') }}

@endif
@endsection