@extends('admin.layouts.app')
@php
$pageTitle = 'Admin - Video Detail';
$pageHeading = 'Video Detail';
$pageSubheading = 'Inspect metadata and manage video status.';
@endphp
@push('head')
@endpush
@section('content')
Type
{{ $video->type ?? '-' }}
Status
{{ ucfirst($video->status) }}
Provider
{{ $video->provider ?: '-' }}
Play Mode
{{ is_object($video->play_mode) && property_exists($video->play_mode, 'value') ? $video->play_mode->value : ($video->play_mode ?: '-') }}
Storage Driver
{{ $video->storage_driver }}
Embed URL
@if(!empty($video->embed_url))
@if(str_starts_with($video->embed_url, 'http://') || str_starts_with($video->embed_url, 'https://'))
{{ $video->embed_url }}
@else
{{ $video->embed_url }}
@endif
@else
-
@endif
Source MP4 Path
{{ $video->source_mp4_path ?: '-' }}
HLS Asset Path
{{ $video->asset_path ?: '-' }}
Thumbnail Path
{{ $video->thumbnail_path ?: '-' }}
Error Message
{{ $video->error_message ?: '-' }}
Created At
{{ $video->created_at?->format('Y-m-d H:i:s') }}
Back to List
@if($video->status === 'failed')
@endif
@if($video->status !== 'disabled')
@endif
@endsection