@extends('Front.PatientLayout.mainLayout') @section('title', 'Education') @section('css') @endsection @section('content')
{{ $playNow->name }}
{{--
{{ $playNow->sub_title }}
{{ __('education.watched') }}
--}} @else{{ __('education.finishReading') }}
@endif{{ __('education.readingQuestion') }}
@endif{{ __('education.videos') }}
{{-- other video --}} @foreach ($records as $vData) @php $totalWord = str_word_count($vData->description); $min = getReadCount($totalWord); @endphp{{ sprintf('%02d', $min) }}:00 minutes
@else{{ sprintf('%02d', $vData->minute) . ':' . sprintf('%02d', $vData->second) }} {{ __('education.minute') }}
@endif @if (in_array($vData['id'], $videoIdArray)) @endif{{ $vData->name }}
@if ($vData->type == 'content'){!! html_entity_decode(substr($vData->description, 0, 150)) !!}....
@else {{ $vData->sub_title }} @endif