{{ $demo_video->title }}
Edit
@if($demo_video->provider === 'vimeo' && !empty($demo_video->provider_id))
@endif
@if($demo_video->description)
{{ $demo_video->description }}
@endif
Video Information
| Provider: |
{{ ucfirst($demo_video->provider) }}
|
@if($demo_video->provider_id)
| Video URL: |
@if(str_starts_with($demo_video->provider_id, 'http'))
{{ $demo_video->provider_id }}
@else
{{ $demo_video->provider_id }}
@endif
|
@endif
| Status: |
{{ $demo_video->status ? 'Active' : 'Inactive' }}
|
| Sort Order: |
{{ $demo_video->sort_order ?? 0 }} |
Course Information
@if($demo_video->course)
| Course: |
{{ $demo_video->course->title }} |
@endif
@if($demo_video->unit)
| Unit: |
{{ $demo_video->unit->title }} |
@endif
@if(!$demo_video->course && !$demo_video->unit)
| No course/unit assigned |
@endif
@if($demo_video->videoLinks && $demo_video->videoLinks->count() > 0)
Video Links
| Quality |
Type |
URL |
Status |
@foreach($demo_video->videoLinks as $link)
| {{ $link->quality_label }} |
@if($link->is_downloadable)
Download
@else
Stream
@endif
|
{{ $link->url }}
|
{{ $link->status ? 'Active' : 'Inactive' }}
|
@endforeach
@else
No video links available.
@if($demo_video->provider === 'vimeo' && !empty($demo_video->provider_id))
@endif
@endif