'use client';

import { ShortVideoProps } from '@/types/section';
import VideoGallery from './VideoGallery';

/**
 * Ad Video Section - Landscape orientation videos (TVC, Ads)
 * Now uses the reusable VideoGallery component
 */
export default function AdVideo({
  videoList,
  onSelectVideo,
  title,
  itemsPerView = 4
}: ShortVideoProps) {
  return (
    <VideoGallery
      videoList={videoList}
      onSelectVideo={onSelectVideo}
      title={title}
      aspectRatio="landscape"
      gridCols={itemsPerView as any}
      gradientFrom="from-red-500"
      gradientTo="to-red-700"
      showRating={true}
      layout="slider"
    />
  );
}
