@extends('layouts.admin-simple') @section('title', 'Video Settings') @section('page-title', 'Video Settings') @section('breadcrumb') @endsection @section('content')
@forelse($videoSettings as $video) @empty @endforelse
Video Key Type Status Settings Preload Updated Actions
@if($video->thumbnail_url)
Video Thumbnail
@else
video_library
@endif
{{ $video->title }} @if($video->description)
{{ Str::limit($video->description, 50) }}
@endif @if($video->video_id)
{{ $video->video_id }}
@endif
{{ $video->key }} @switch($video->video_type) @case('youtube') YouTube @break @case('vimeo') Vimeo @break @case('mp4') MP4 @break @endswitch {{ $video->is_enabled ? 'play_circle' : 'pause_circle' }} {{ $video->is_enabled ? 'Enabled' : 'Disabled' }}
@if(isset($video->settings['autoplay']) && $video->settings['autoplay']) @endif @if(isset($video->settings['mute']) && $video->settings['mute']) @endif @if(isset($video->settings['loop']) && $video->settings['loop']) @endif @if(isset($video->settings['controls']) && $video->settings['controls']) @endif
@if($video->preload_at) Preloaded @else @endif {{ $video->updated_at->format('M j, Y') }}
video_library

No video settings found. Create your first video setting

@endsection @push('scripts') @endpush