Edit File: eb25c258bbdf703df11aecd2c099e24b.php
<?php $__env->startSection("title"); ?> Nonton <?php echo e($video->name); ?> Subtitle Indonesia - Gudang Anime Movie <?php $__env->stopSection(); ?> <?php $__env->startSection('headerseo'); ?> <meta name="description" content="Streaming <?php echo e($video->name); ?>. Nonton anime terbaru sub Indo di Gudang Anime Movie."> <meta property="og:title" content="Nonton <?php echo e($video->name); ?> Subtitle Indonesia - Gudang Anime Movie" /> <meta property="og:description" content="Streaming anime <?php echo e($video->name); ?> full HD hanya di Gudang Anime Movie." /> <meta property="og:image" content="<?php echo e($anime->thumbnail); ?>" /> <meta property="og:url" content=<?php echo e(url("/anime/$anime->slug/episode/$video->order")); ?> /> <meta name="twitter:card" content="summary_large_image" /> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://gudanganimemovie.com/" }, { "@type": "ListItem", "position": 2, "name": "<?php echo e($anime->name); ?>", "item": "<?php echo e(url("/anime/$anime->slug")); ?>" }, { "@type": "ListItem", "position": 3, "name": "Episode <?php echo e($video->order); ?>" }] } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "VideoObject", "name": "<?php echo e($video->name); ?>", "description": "Nonton <?php echo e($video->name); ?> sub Indo full HD.", "thumbnailUrl": "<?php echo e(url($video->thumbnail)); ?>", "uploadDate": "<?php echo e(Carbon\Carbon::parse($video->created_at)->toIso8601String()); ?>", "contentUrl": "<?php echo e(url($video->video)); ?>" } </script> <?php $__env->stopSection(); ?> <div class="flex flex-col gap-4 px-2"> <?php if (isset($component)) { $__componentOriginal3d92262293900acc262bf53bfdd471f8 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal3d92262293900acc262bf53bfdd471f8 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.homelist','data' => ['title' => 'Daftar Episode','search' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('homelist'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Daftar Episode','search' => true]); ?> <?php $__env->slot('content', null, []); ?> <form wire:submit="searchEpisode" class="flex"> <input placeholder="0" class="rounded-l-lg text-black border-gray-200 w-14 text-end" wire:model="query" /> <button type="submit" class="bg-red-600 rounded-r-lg w-14">CARI</button> </form> <div class="ms-4 text-red-600 font-bold uppercase text-xs xl:text-base"><!--[if BLOCK]><![endif]--><?php $__errorArgs = ["episode_error"]; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]--></div> <?php $__env->endSlot(); ?> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $anime->videos()->orderBy("order")->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e($video->order == $item->order ? "#" : route("video.show", ['order' => $item->order, 'slug' => $anime->slug])); ?>" class="<?php echo e($video->order == $item->order ? "bg-gray-200 text-black font-bold" : "text-white font-normal bg-gray-700"); ?> min-w-24 h-8 rounded-lg flex items-center justify-center"> Ep <?php echo e($item->order); ?> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal3d92262293900acc262bf53bfdd471f8)): ?> <?php $attributes = $__attributesOriginal3d92262293900acc262bf53bfdd471f8; ?> <?php unset($__attributesOriginal3d92262293900acc262bf53bfdd471f8); ?> <?php endif; ?> <?php if (isset($__componentOriginal3d92262293900acc262bf53bfdd471f8)): ?> <?php $component = $__componentOriginal3d92262293900acc262bf53bfdd471f8; ?> <?php unset($__componentOriginal3d92262293900acc262bf53bfdd471f8); ?> <?php endif; ?> <h1 class="border-b-2 border-red-600 lg:ps-4 ps-2 lg:text-2xl capitalize mt-8"><?php echo e($video->name); ?></h1> <div class="w-full"> <video id="videoPlayer" controls class="w-full aspect-video" poster="<?php echo e($video->thumbnail); ?>" wire:ignore> <source src="<?php echo e($video->video); ?>" /> </video> </div> <div class="flex gap-2"> <a href="<?php echo e($prev_video == "#" ? "#" : route("video.show", ['slug' => $anime->slug, 'order' => $prev_video])); ?>" class="<?php echo e($prev_video == "#" ? "bg-red-900 hover:cursor-not-allowed" : "bg-red-600 hover:bg-red-700"); ?> items-center flex justify-center flex-1 rounded-md h-16 font-bold tracking-wider lg:text-base text-sm text-center px-2 lg:px-4 "> Episode Sebelumnya </a> <a href="<?php echo e(route("anime.show", $anime->slug)); ?>" class="bg-red-600 items-center flex justify-center flex-1 rounded-md h-16 font-bold tracking-wider text-center px-2 lg:px-4 uppercase"> <?php echo e($anime->name); ?> </a> <a href="<?php echo e($next_video == "#" ? "#" : route("video.show", ['slug' => $anime->slug, 'order' => $next_video])); ?>" class="<?php echo e($next_video == "#" ? "bg-red-900 hover:cursor-not-allowed" : "bg-red-600 hover:bg-red-700"); ?> items-center flex justify-center flex-1 rounded-md h-16 font-bold tracking-wider lg:text-base text-sm text-center px-2 lg:px-4"> Episode Berikutnya </a> </div> <?php if (isset($component)) { $__componentOriginal3d92262293900acc262bf53bfdd471f8 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal3d92262293900acc262bf53bfdd471f8 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.homelist','data' => ['title' => 'Komentar']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('homelist'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Komentar']); ?> <form wire:submit="comment" class="w-full flex flex-col gap-4"> <textarea rows="4" placeholder="Silahkan Masukkan Komentar (Maksimal 500 Huruf)" class="rounded-lg text-black w-full" wire:model="description"></textarea> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('description')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('description'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <button class="flex gap-2" type="button" wire:click="togglePriority"> <span class="w-6 h-6 rounded-full <?php echo e($priority ? "" : "bg-red-600"); ?> text-center"><?php echo e($priority ? "✅" : "X"); ?></span> Prioritas Admin </button> <button class="w-48 h-10 rounded-full bg-red-600"> Kirim </button> </form> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal3d92262293900acc262bf53bfdd471f8)): ?> <?php $attributes = $__attributesOriginal3d92262293900acc262bf53bfdd471f8; ?> <?php unset($__attributesOriginal3d92262293900acc262bf53bfdd471f8); ?> <?php endif; ?> <?php if (isset($__componentOriginal3d92262293900acc262bf53bfdd471f8)): ?> <?php $component = $__componentOriginal3d92262293900acc262bf53bfdd471f8; ?> <?php unset($__componentOriginal3d92262293900acc262bf53bfdd471f8); ?> <?php endif; ?> <div class="flex flex-col gap-8"> <!--[if BLOCK]><![endif]--><?php if($commentState): ?> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $comments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="flex gap-4 w-full"> <img src="<?php echo e($comment->user->avatar); ?>" alt="Avatar <?php echo e($comment->user->name); ?>" class="w-14 h-14 p-2 rounded-full bg-gray-700" loading="lazy"> <div class="bg-gray-700 p-4 rounded-lg relative flex flex-col gap-2 w-full"> <div> <?php echo e($comment->user->name); ?> <span class="text-white/50 ms-4"><?php echo e(Carbon\Carbon::parse($comment->created_at)->diffForHumans()); ?></span> </div> <div class="comment-text line-clamp-3 break-all "> <?php echo e($comment->description); ?> </div> <button class="toggle-button text-red-600 mt-2 hidden" onclick="toggleText(this)">Read More</button> <div class="bg-gray-700 w-4 h-4 -left-2 top-6 absolute rotate-45"> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <div class="flex justify-center"> <!--[if BLOCK]><![endif]--><?php if($load_item < $max_comment): ?> <button wire:click="loadMoreComments" class="bg-red-600 font-semibold text-white px-8 py-2 rounded-md border-2 border-white/75 hover:bg-red-500">Load More</button> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> <div> <button class="bg-red-600 px-4 rounded-md h-8 min-w-48 border-2 border-white" wire:click="toggleComment"><?php echo e($commentState ? "Tutup" : "Buka"); ?> Komentar</button> </div> </div> <x-home-item title="Rekomendasi <?php echo e($anime->is_film ? "Film" : "Anime"); ?>" animes=<?php echo e($random_anime); ?> link="#" /> <script> document.addEventListener("DOMContentLoaded", function() { const comments = document.querySelectorAll('.comment-text'); const toggleButtons = document.querySelectorAll('.toggle-button'); comments.forEach((commentText, index) => { // Create a temporary clone to measure the real height of the text content const tempClone = commentText.cloneNode(true); tempClone.style.display = "block"; tempClone.style.position = "absolute"; tempClone.style.visibility = "hidden"; tempClone.classList.remove("line-clamp-3"); // Remove clamp to measure full height document.body.appendChild(tempClone); const fullHeight = tempClone.clientHeight; const clampedHeight = commentText.clientHeight; document.body.removeChild(tempClone); // If the full height is greater than the clamped height, show the corresponding Read More button if (fullHeight > clampedHeight) { toggleButtons[index].classList.remove("hidden"); } }); }); function toggleText(button) { const commentText = button.previousElementSibling; // Get the text element before the button if (commentText.classList.contains("line-clamp-3")) { commentText.classList.remove("line-clamp-3"); button.innerHTML = "Show Less"; } else { commentText.classList.add("line-clamp-3"); button.innerHTML = "Read More"; } } document.addEventListener('livewire:initialized', function() { const video = document.getElementById('videoPlayer'); video.addEventListener('play', function() { window.Livewire.dispatch('incrementViewCount'); }); video.addEventListener('ended', function() { window.Livewire.dispatch('videoEnded'); }); }); </script> </div><?php /**PATH /home/okaminime0881/anime/resources/views/livewire/show/video-show.blade.php ENDPATH**/ ?>
Back