Editing: 10f8d48891b2b7531a396f807643f528c945ff18.php
<div class="modal fade" id="playVideo" tabindex="-1" aria-labelledby="playVideoLabel" aria-hidden="true"> <div class="modal-dialog modal-lg modal-dialog-centered"> <div class="modal-content py-20"> <div class="d-flex align-items-center justify-content-between px-20"> <h3 class="section-title after-line"></h3> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <i data-feather="x" width="25" height="25"></i> </button> </div> <div class="mt-25 position-relative"> <div class="px-20"> <div class="file-video-loading align-items-center justify-content-center py-50 text-center"> <img src="/assets/default/img/loading.gif" width="100" height="100"> </div> <div class="js-modal-video-content d-none"> </div> </div> <?php $notAllowSource = ['iframe', 'google_drive']; ?> <div class="modal-video-lists mt-15"> <?php if(!empty($filesWithoutChapter) and count($filesWithoutChapter)): ?> <?php $__currentLoopData = $filesWithoutChapter; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $video): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($video->isVideo() and !in_array($video->storage, $notAllowSource)): ?> <?php echo $__env->make('web.default.course.tabs.play_modal.video_item', ['video' => $video], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if(!empty($fileChapters) and count($fileChapters)): ?> <?php $__currentLoopData = $fileChapters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fileChapter): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(!empty($fileChapter->files) and count($fileChapter->files)): ?> <?php $hasVideoForPlay = false; foreach($fileChapter->files as $video) { if ($video->isVideo() and !in_array($video->storage, $notAllowSource)) { $hasVideoForPlay = true; } } ?> <?php if($hasVideoForPlay): ?> <div class="d-flex justify-content-between align-items-center my-15 px-20"> <h3 class="section-title after-line"><?php echo e($fileChapter->title); ?></h3> </div> <div class="accordion-content-wrapper mt-15" id="videosAccordion" role="tablist" aria-multiselectable="true"> <?php $__currentLoopData = $fileChapter->files; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $video): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($video->isVideo() and !in_array($video->storage, $notAllowSource)): ?> <?php echo $__env->make('web.default.course.tabs.play_modal.video_item', ['video' => $video], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </div> </div> </div> </div> </div> <?php /**PATH /home/ayaclass/public_html/resources/views/web/default/course/tabs/play_modal/play_modal.blade.php ENDPATH**/ ?>
Save
Back