@extends('layouts.app') @section('title', 'Studio | ' . config('app.name')) @section('content')
Manage every video you've uploaded. Select rows for bulk visibility changes.
Switch filters above or upload a new video from the sidebar.
| Video | Visibility | Views | Likes | Comments | Uploaded | |
|---|---|---|---|---|---|---|
|
@if ($v->thumbnail)
{{ $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') }} |