@php $upload = $recordingUpload ?? []; @endphp
← Live classes
@unless ($liveClass->isCancelled()) Edit @endunless @if ($liveClass->isScheduled() && ! $liveClass->isEnded()) Start class @endif
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif

Details

@if ($liveClass->isCancelled()) Cancelled @elseif ($liveClass->isJoinable()) Live now @elseif ($liveClass->isUpcoming()) Upcoming @else Ended @endif

Course: {{ $liveClass->course?->title }} · {{ optional($liveClass->starts_at)->format('d M Y, H:i') }} · {{ $liveClass->duration_minutes }} min

@if ($liveClass->description)

{{ $liveClass->description }}

@endif @if ($mock)

Mock Zoom is on — Start opens an in-app room that records automatically and uploads when you end.

@else

Zoom cloud recording is enabled for this meeting. After class, sync the recording below (or upload a file).

@endif

Zoom

Meeting ID
{{ $liveClass->zoom_meeting_id ?: '—' }}
Password
{{ $liveClass->zoom_password ?: '—' }}
Student join link
{{ $liveClass->zoom_join_url ?: '—' }}

Join window opens 15 minutes before start and closes 15 minutes after end.

Recording

{{ $liveClass->recording_status === 'ready' ? 'Ready' : ucfirst($liveClass->recording_status ?: 'none') }}
@if ($liveClass->hasRecording() && $liveClass->recordingPublicUrl()) @endif

@if ($mock) Start the class from this page to record live. Or upload a finished video file here. @else After the Zoom meeting ends, sync the cloud recording, or upload a file manually. @endif

@unless ($mock)
@csrf
@endunless

MP4 / WebM · max {{ $upload['max_label'] ?? '2 GB' }}

@if ($liveClass->hasRecording())
@if ($liveClass->recording_visible_to_students)

Visible on student portal

@else

Hidden from student portal

Admin must grant access before students can watch this recording.

@endif @can('publishRecording', $liveClass)
@if ($liveClass->recording_visible_to_students)
@csrf
@else
@csrf
@endif
@endcan
@endif