@php $isOrganization = isOrganization(); $isAdmin = isAdmin(); $isInstructor = isInstructor(); $currentUser = authCheck(); $locale = request()->locale ?? app()->getLocale(); $translations = []; $course = $course ?? null; if ($course && $locale) { $translations = parse_translation($course, $locale); } $type = $type ?? ''; @endphp
@csrf
@if (!$isOrganization)
@endif @if ($isAdmin || $isOrganization)
@endif @if ($isInstructor) @endif @if ($isOrganization) @endif
@php $src_type = $course->video_src_type ?? null; @endphp
@if (isset($course, $src_type) && $src_type !== 'local') @elseif (isset($course) && $src_type == 'local')
@if (isset($course))
@if (fileExists($folder = 'lms/courses/demo-videos', $fileName = $course->short_video) == true && $course->short_video !== '') @endif
@endif @endif
{{ translate('Recommended') }} : {{ translate('Word between - 120 to 150') }}

@if (!isset($course))

{{ translate('Thumbnail') }}(300 x300 ) *

@if (isset($course) && fileExists($folder = 'lms/courses/thumbnails', $fileName = $course?->thumbnail) == true && $course?->thumbnail !== '')
@endif
@endif