Viewed / Total (Videos)

{{(int)$totalVideoDurationPlay['totalVideosPlay']}} / {{(int)$totalVideoDuration['totalVideos']}}

Overall Progress

{{ round(((int)$totalVideoDurationPlay['totalVideosPlayDuration']/(int)$totalVideoDuration['totalVideosDuration'])*100,1) }} %

Total Time Spent

{{round((int)$totalVideoDurationPlay['totalVideosPlayDuration']/60)}} Minutes

@if (count($courseContents)>0)
@foreach ($courseContents as $cc) @if ((int)$cc->play_duration>0) @else @endif @endif @endforeach
Chapter Item Type Progress Video Duration Time Spent Action
{{$cc->cat_name}} {{-- VIDEO --}} @if ($cc->type=='video')  {{$cc->item_name}} @endif {{-- PDF --}} @if ($cc->type=='pdf')  {{$cc->item_name}} @endif {{-- EBOOK --}} @if ($cc->type=='ebook')  {{$cc->item_name}} @endif {{-- MCQ --}} @if ($cc->type=='practice_test')  {{$cc->item_name}} @endif {{$cc->type}} {{ min(round((((int)$cc->play_duration/60)/((int)$cc->video_duration/60))*100),100) }} %0 % @if ($cc->type=='video') {{(int)$cc->video_duration/60}} mins @endif @if ($cc->type=='video') {{ round((int)$cc->play_duration/60)}} mins
@endif