@php $currentType = $currentType ?? 'file'; $currentFileLabel = $currentFileLabel ?? null; $currentYoutubeUrl = $currentYoutubeUrl ?? null; // Defaults to unprefixed names ('video', 'video_source', 'youtube_input') so // every existing include of this partial keeps submitting the same field // names it always has. Pass fieldPrefix only when a form needs a second, // independent video-source group alongside the first (e.g. course reel). $fieldPrefix = $fieldPrefix ?? ''; @endphp
{{ $currentFileLabel ?: trans('admin.Click to upload or drag and drop') }} MP4, MOV, AVI, WMV
{{ trans('admin.Youtube input hint') }}