{{-- Tabbed description + insights box. Expects: $video (Video model) Optionally accepts: $descriptionSlot — raw HTML to show in the About tab body --}} @php $isVideoOwner = Auth::check() && Auth::id() === $video->user_id; $renderedDescription = \App\Support\HtmlSanitizer::render($video->description ?? ''); $hasDesc = $renderedDescription !== '' || isset($descriptionSlot); $showBox = $hasDesc || $isVideoOwner; @endphp @if ($showBox)
No description added.
@endif