@extends('layouts.admin') @section('title', 'Manage Videos') @section('content')
| Thumbnail | Title | Type | Class/Subject | Topic | Source | Premium | Featured | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
|
@if($video->thumbnail_url)
📹
@endif
|
{{ $video->title }}
@if($video->description)
{{ Str::limit($video->description, 50) }} @endif |
{{ $video->type }}
@if($video->genre)
{{ $video->genre }} @endif |
@if($video->classModel)
{{ $video->classModel->name }}
@endif
@if($video->subject)
{{ $video->subject->name }} @endif |
{{ $video->topic ?? '-' }} |
@if($video->player_code)
🎬 Player Code
Custom code set @elseif($video->video_hash) 🎬 Hash {{ Str::limit($video->video_hash, 20) }} @elseif($video->video_file_path) 📁 File {{ basename($video->video_file_path) }} @elseif($video->getRawVideoUrl()) 🔗 URL {{ Str::limit($video->getRawVideoUrl(), 30) }} @else ❌ None @endif |
@if($video->is_premium) 🔒 Premium @else 🆓 Free @endif | @if($video->is_featured) ⭐ Featured @else - @endif | @if($video->is_active) Active @else Inactive @endif |
@if($video->is_premium)
@else
@endif
|
| No videos found. Create one. | |||||||||