<!--/#login.form-action--> <div id="download" class="form-action show"> <h1>Download</h1> <p> Size: {{$file_size}} <br> </p> <ul> <li style="padding-top: 20px;"> <a href="{{$link}}"><button class="button">Download</button></a> </li> </ul> </div> <div id="info" class="form-action hide"> @if(!$media->downloading()) <?php $media_info = MediaInfo::where('media_id', '=', $media->id)->where('file_id', '=', $file->id)->first(); ?> @endif <h1>File Info</h1> <p> Name: {{$file->name}} <br> Size: {{$file_size}} <br> @if(isset($media_info->video_codec_name) && $media_info->video_codec_name != null) Type: {{$media_info->video_codec_name}} <br> @endif @if(isset($media_info->video_duration) && $media_info->video_duration != null) Duration: {{$media_info->video_duration}} <br> @endif @if(isset($media_info->video_width) && $media_info->video_width != null) Width: {{$media_info->video_width}} Height: {{$media_info->video_height}} <br> @endif