@extends('admin.layouts.app') @section('page_title', 'Videos') @section('content')
Create, search, update and manage your YouTube & custom videos.
Please fix the following errors:
| # | Title | Type | Category | Description | Preview | Actions |
|---|---|---|---|---|---|---|
| {{ ($videos->currentPage() - 1) * $videos->perPage() + $idx + 1 }} |
{{ $video->title }}
@if ($video->type === 'youtube' && $video->url)
Open link
@endif
|
{{ ucfirst($video->type) }} | {{ $video->category->name ?? '—' }} | {{ $video->description ? \Illuminate\Support\Str::limit($video->description, 110) : '—' }} | @if ($video->type === 'youtube') @elseif ($video->type === 'custom' && $video->video_file) @else No Preview Available @endif |
|
|
No videos found. |
||||||
Showing {{ $videos->firstItem() }}–{{ $videos->lastItem() }} of {{ $videos->total() }}