@extends('frontend.layouts.main')
@section('title', 'video')
@section('keywords', 'video')
@section('description', 'video')
@section('abstract', 'video')
@section('css')
@endsection
@section('content')
Review Sản phẩm
@foreach($videos as $video)
@php
$videoUrl = $video->description;
$videoId = extractYouTubeId($videoUrl);
// Thumbnail
$thumb = $videoId
? "https://img.youtube.com/vi/{$videoId}/hqdefault.jpg"
: "/images/no-video.jpg";
@endphp
{{ $video->name ?? 'Video không có tiêu đề' }}
@endforeach
@endsection
@section('js')
@endsection