@extends('layouts.admin') @section('content')

Live Stream Configuration

Configure YouTube live streaming settings for the frontend

@if(session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')
is_enabled ? 'checked' : '' }} class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
@error('youtube_id')

{{ $message }}

@enderror

Enter the YouTube video ID (the part after "v=" in the URL)

@error('title')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
@if($config->is_enabled && $config->youtube_id)

Preview

{{ $config->title ?: 'Live Stream' }}

@if($config->description)

{{ $config->description }}

@endif

YouTube Live Stream

ID: {{ $config->youtube_id }}

@endif
@endsection