@extends('admin.layouts.app') @section('title', 'Videos Management') @section('content')

Videos Management

Manage your product videos and media content

Total Videos

{{ $videos->total() }}

Active Videos

{{ $videos->where('is_active', true)->count() }}

Inactive Videos

{{ $videos->where('is_active', false)->count() }}

With Thumbnails

{{ $videos->whereNotNull('thumbnail')->count() }}

Showing {{ $videos->count() }} videos

All Videos

@forelse($videos as $video) @empty @endforelse
Thumbnail Title Product Duration Status Actions
@if($video->thumbnail) {{ $video->title }} @else
@endif
{{ $video->title }}
{{ Str::limit($video->url, 40) }}
{{ $video->product ? $video->product->name : 'N/A' }} {{ $video->formatted_duration }}
@csrf @method('PATCH')
@csrf @method('DELETE')

No Videos Found

Get started by creating your first video.

Add New Video
@endsection