@extends('admin.layout') @section('title', 'Videos') @section('content')

Videos

📄 Import CSV 📚 Providers 🛡️ Iframe Whitelist 🛰️ Proxy HLS 🗂️ Setting Kategori 🏷️ Setting Tags 🔍 Scan Storage 📦 Import Asset ☁️ Upload Video 🖼️ Bulk Thumbnail + Tambah Video
@if(session('import_errors') && count(session('import_errors')) > 0)
Detail import:
@endif @if(session('import_report_rows') && count(session('import_report_rows')) > 0)
Hasil import tersimpan.
Generate: {{ session('import_report_generated_at') ?? '-' }}
⬇ Export Hasil Import CSV
@endif {{-- Search + Filter --}} @if($videos->count() > 0) {{-- Bulk Action Bar --}} {{-- Bulk Progress --}} @foreach($videos as $video) @endforeach
Thumb Title Provider Status Error Player Actions
@php $thumbUrl = $thumbUrls[$video->id] ?? null; @endphp @if($thumbUrl) @else
🎬
@endif
{{-- Display mode --}} {{-- Edit mode (hidden by default) --}}
{{ $video->slug }}
{{ $video->provider }} @if($video->isSelfHosted()) ☁️ @endif @switch($video->status) @case('uploaded') ⬆ uploaded @break @case('encoding') ⏳ encoding @break @case('ready') ✅ ready @break @case('failed') ❌ failed @break @case('disabled') 🚫 disabled @break @default {{ $video->status }} @endswitch @if($video->error_message) {{ Str::limit($video->error_message, 60) }} @else @endif @if($video->isPlayable()) ▶ Play @else @endif
Detail @if(!$video->isSelfHosted()) Edit @endif @if($video->canRetryEncode())
@csrf
@endif @if($video->isReady())
@csrf
@elseif($video->status === 'disabled')
@csrf
@endif
@csrf @method('DELETE')
@else

Belum ada video. Klik "Tambah Video" untuk mulai.

@endif {{-- ═══════════════════════════════════════════════════════ --}} {{-- THUMBNAIL STYLES --}} {{-- ═══════════════════════════════════════════════════════ --}} {{-- ═══════════════════════════════════════════════════════ --}} {{-- INLINE TITLE EDIT STYLES & SCRIPT --}} {{-- ═══════════════════════════════════════════════════════ --}} {{-- ═══════════════════════════════════════════════════════ --}} {{-- EXPORT CSV MODAL --}} {{-- ═══════════════════════════════════════════════════════ --}}

⬇ Export CSV

Pilih provider yang ingin diekspor, atau pilih "Semua Provider" untuk ekspor semua data.

@if(isset($prefixes) && $prefixes->count() > 0)
@endif
{{-- ═══════════════════════════════════════════════════════ --}} {{-- SHARE MODAL --}} {{-- ═══════════════════════════════════════════════════════ --}} @include('admin.videos._share-modal') {{-- ═══════════════════════════════════════════════════════ --}} {{-- BULK DELETE JS --}} {{-- ═══════════════════════════════════════════════════════ --}} @endsection