@extends('layouts.app') @section('title', 'Studio | ' . config('app.name')) @section('content')

Studio

Manage every video you've uploaded. Select rows for bulk visibility changes.

Total videos {{ number_format($totals['total']) }}
Public {{ number_format($totals['public']) }}
Unlisted {{ number_format($totals['unlisted']) }}
Private {{ number_format($totals['private']) }}
Processing {{ number_format($totals['processing']) }}
Failed {{ number_format($totals['failed']) }}
Total views {{ number_format($totals['total_views']) }}
@if ($videos->isEmpty())

No videos in this filter

Switch filters above or upload a new video from the sidebar.

@else @foreach ($videos as $v) @endforeach
Video Visibility Views Likes Comments Uploaded
@if ($v->thumbnail) @else
@endif
{{ $v->title }}
@if ($v->description) @php $plain = trim(preg_replace('/\s+/', ' ', strip_tags((string) $v->description))); @endphp
{{ Str::limit($plain, 70) }}
@endif
@switch($v->visibility) @case('public') Public @break @case('unlisted') Unlisted @break @case('private') Private @break @endswitch @if ($v->status !== 'ready')
{{ ucfirst($v->status) }}
@endif
{{ number_format($v->view_count) }} {{ number_format($v->likes()->count()) }} {{ number_format($v->comments()->count()) }} {{ $v->created_at->format('M j, Y') }}
{{ $videos->links() }}
@endif
@endsection