'use client' import React, { useState } from "react"; import ModalVideo from "react-modal-video"; import Image from "next/image"; const VideoGalleryContent = [ { img: "img_84", text1: "Promoty", text2: "your Event", animationDelay: "", videoId:'qnwTVQlxs4g' }, { img: "img_85", text1: "Social Media", text2: "Promotion", animationDelay: "50", videoId:'qnwTVQlxs4g' }, { img: "img_86", text1: "Youtube Creator", text2: "Intro", animationDelay: "100", videoId:'qnwTVQlxs4g' }, { img: "img_87", text1: "Dancing", text2: "eople adv", animationDelay: "150", videoId:'qnwTVQlxs4g' }, { img: "img_88", text1: "Cartoon for", text2: "children", animationDelay: "50", videoId:'qnwTVQlxs4g' }, { img: "img_89", text1: "Music", text2: "Learning", animationDelay: "100", videoId:'qnwTVQlxs4g' }, { img: "img_90", text1: "Greeting", text2: "intro", animationDelay: "150", videoId:'qnwTVQlxs4g' }, { img: "img_91", text1: "Work", text2: "From Home", animationDelay: "200", videoId:'qnwTVQlxs4g' }, ]; const VideoGallery = () => { const [isOpen, setOpen] = useState(false); const [videoId, setVideoId] = useState('qnwTVQlxs4g') return (