Welcome Video
@if (session('success'))
@if (method_exists($videos, 'links'))
@endif
{{ session('success') }}
@endif
@if (session('error') || $errors->any())
@if (session('error'))
{{ session('error') }}
@endif
@foreach ($errors->all() as $error)
@endif
@if ($videos->count() > 0)
{{ $error }}
@endforeach
| Title | File Size | Status | Uploaded By | Upload Date | Actions |
|---|---|---|---|---|---|
| {{ $video->title }} @if ($video->status !== 'active') (Inactive) @endif {{ $video->original_filename }} | {{ $video->formatted_file_size }} |
status === 'active' ? 'checked' : '' }}
onchange="updateActiveStatus({{ $video->id }}, this.checked)"
data-video-id="{{ $video->id }}">
|
{{ $video->uploader->name ?? 'Unknown' }} | {{ $video->created_at->format('M d, Y') }} |
{{ $videos->links() }}
@endif
@else