  SenangStart                                  Loading... 



 

   [ Back to Sections ](https://senangstart.com/sections/all)    

      

 

  showcase  18   [ Alternating Experiences ](https://senangstart.com/sections/experiences-1) [ App Screenshot Previews ](https://senangstart.com/sections/previews-2) [ Award Showcase Grid ](https://senangstart.com/sections/awards-1) [ Bonus Content Grid ](https://senangstart.com/sections/bonus-1) [ Course Card Grid ](https://senangstart.com/sections/blogs-2) [ Course Offer Cards ](https://senangstart.com/sections/offer-2) [ Custom Section Benefits ](https://senangstart.com/sections/benefits-1) [ Dual Product Cards ](https://senangstart.com/sections/products-3) [ Filterable Portfolio ](https://senangstart.com/sections/products-4) [ Offer Image Grid ](https://senangstart.com/sections/offer-1) [ Partners &amp; Clients ](https://senangstart.com/sections/partners-clients) [ Portfolio Reveal Grid ](https://senangstart.com/sections/products-1) [ Quality Asym Images ](https://senangstart.com/sections/quality-1) [ STEM Learning Previews ](https://senangstart.com/sections/previews-1) [ Service Icon Grid ](https://senangstart.com/sections/services-1) [ Specialty Icon Grid ](https://senangstart.com/sections/specialities-1) [ Template Showcase Grid ](https://senangstart.com/sections/products-2) [ Webinar Grid ](https://senangstart.com/sections/blogs-1) 

 

  cta  7   [ App Download CTA ](https://senangstart.com/sections/cta-2) [ CTA Profile Card ](https://senangstart.com/sections/cta-1) [ CTA Stats &amp; Image ](https://senangstart.com/sections/cta-5) [ Newsletter CTA Logos ](https://senangstart.com/sections/cta-6) [ Plan CTA Testimonial ](https://senangstart.com/sections/cta-7) [ Product CTA Interactive ](https://senangstart.com/sections/cta-3) [ Profile CTA Background ](https://senangstart.com/sections/cta-4) 

 

  feature  4   [ App Features Centered ](https://senangstart.com/sections/features-2) [ App Features Mobile ](https://senangstart.com/sections/features-1) [ Feature Image Toggle ](https://senangstart.com/sections/features-4) [ Feature Large Image ](https://senangstart.com/sections/features-3) 

 

  general  4   [ App Onboarding Steps ](https://senangstart.com/sections/steps-2) [ Event Timeline ](https://senangstart.com/sections/timeline-1) [ Step Image Cards ](https://senangstart.com/sections/steps-1) [ Story Mission Banners ](https://senangstart.com/sections/story-1) 

 

  testimonial  4   [ Basic Testimonial Grid ](https://senangstart.com/sections/testimony-2) [ Simple Testimonial ](https://senangstart.com/sections/testimony-1) [ Testimonial Cards Stats ](https://senangstart.com/sections/testimony-4) [ Testimonial Slider ](https://senangstart.com/sections/testimony-3) 

 

  video  6   [ Centered Video Show ](https://senangstart.com/sections/video-1) [ Video Feature Highlights ](https://senangstart.com/sections/video-6) [ Video Fullwidth Overlay ](https://senangstart.com/sections/video-2) [ Video Gallery ](https://senangstart.com/sections/video-4) [ Video Testimonial ](https://senangstart.com/sections/video-5) [ Video with Sidebar ](https://senangstart.com/sections/video-3) 

 

  problem  6   [ Challenge Icon Cards ](https://senangstart.com/sections/problems-3) [ Dual Problem Cards ](https://senangstart.com/sections/problems-1) [ Multi-Format Problems ](https://senangstart.com/sections/problems-2) [ Problem Before/After ](https://senangstart.com/sections/problems-4) [ Problem Image Stack ](https://senangstart.com/sections/problems-6) [ Tabbed Problem Explore ](https://senangstart.com/sections/problems-5) 

 

  faq  6   [ Classic Accordion ](https://senangstart.com/sections/faq-1) [ Colored Block FAQ ](https://senangstart.com/sections/faq-4) [ Formal List FAQ ](https://senangstart.com/sections/faq-6) [ Grid Toggle FAQ ](https://senangstart.com/sections/faq-2) [ Interactive List FAQ ](https://senangstart.com/sections/faq-5) [ Sidebar Intro FAQ ](https://senangstart.com/sections/faq-3) 

 

  product  2   [ Course Product Page ](https://senangstart.com/sections/product-1) [ Webinar Product Booking ](https://senangstart.com/sections/product-2) 

 

  footer  2   [ Footer Sitemap ](https://senangstart.com/sections/footer-2) [ Simple Footer Social ](https://senangstart.com/sections/footer-1) 

 

  story  5   [ Founder's Perspective ](https://senangstart.com/sections/story-4) [ Guiding Core Values ](https://senangstart.com/sections/story-3) [ Our Journey Timeline ](https://senangstart.com/sections/story-2) [ Our Working Philosophy ](https://senangstart.com/sections/story-5) [ The Evolution Story ](https://senangstart.com/sections/story-6) 

 

  statistic  6   [ Global Scale Stats ](https://senangstart.com/sections/statistics-6) [ Impact Highlights ](https://senangstart.com/sections/statistics-4) [ Key Metrics Showcase ](https://senangstart.com/sections/statistics-2) [ Milestone Cards ](https://senangstart.com/sections/statistics-5) [ Progress Report List ](https://senangstart.com/sections/statistics-3) [ Statistic Box Grid ](https://senangstart.com/sections/statistics-1) 

 

  hero  6   [ Hero BG Pattern Card ](https://senangstart.com/sections/hero-6) [ Hero Centered Media ](https://senangstart.com/sections/hero-1) [ Hero Feature Cards ](https://senangstart.com/sections/hero-5) [ Hero Full BG Image ](https://senangstart.com/sections/hero-3) [ Hero Split BG Image ](https://senangstart.com/sections/hero-2) [ Hero Split Overlay ](https://senangstart.com/sections/hero-4) 

 

  team  2   [ Medical Team Grid ](https://senangstart.com/sections/team-2) [ Team Leadership Grid ](https://senangstart.com/sections/team-1) 

 

  navigation  6   [ Navbar Announce User ](https://senangstart.com/sections/navbar-6) [ Navbar Mega Menu ](https://senangstart.com/sections/navbar-5) [ Navbar Prev/Next Nav ](https://senangstart.com/sections/navbar-2) [ Navbar Top Bar Links ](https://senangstart.com/sections/navbar-3) [ Navbar with Search ](https://senangstart.com/sections/navbar-4) [ Standard Navbar ](https://senangstart.com/sections/navbar-1) 

 

  pricing  2   [ Pricing Compare Table ](https://senangstart.com/sections/pricing-2) [ Pricing Toggle Cards ](https://senangstart.com/sections/pricing-1) 

 

 

 

 

       

 [![SenangStart](https://senangstart.com/img/ss_logo_text.svg)](https://senangstart.com) 

          

 

 

    ####  [\#](https://senangstart.com/sections/video-4/llms.txt)Video Gallery 

  video  

 Displays a primary video player accompanied by a selectable gallery or playlist of other video content.

 

     

 TailwindCSS    SenangStart CSS  

 

  VIDEO SERIES

 

 Explore Our Video Library 
---------------------------

 Dive into our collection of tutorials, webinars, and product showcases. Select a video from the list to start watching.

 

   


 

 

 ### Up Next

  ![]()
 

  

  

 

 

  

  &lt;section class="container mx-auto my-8 px-6 lg:my-16 lg:px-16" x-data="{ currentVideoUrl: 'https://www.youtube.com/embed/\_\_NeP0RqACU?autoplay=0&amp;rel=0', currentVideoTitle: 'Introduction to SenangStart', videos: \[ { id: 1, title: 'Introduction to SenangStart', duration: '5:30', url: 'https://www.youtube.com/embed/\_\_NeP0RqACU?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/3B82F6/FFFFFF?text=Vid1' }, { id: 2, title: 'Advanced Features Tutorial', duration: '12:15', url: 'https://www.youtube.com/embed/YgGzAKP\_HuM?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid2' }, { id: 3, title: 'Client Success: Acme Corp', duration: '8:42', url: 'https://www.youtube.com/embed/L\_LUpnjgPso?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid3' }, { id: 4, title: 'Webinar: Future of Web Design', duration: '45:10', url: 'https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid4' } \], playVideo(video) { this.currentVideoUrl = video.url; this.currentVideoTitle = video.title; } }"&gt; &lt;div class="text-left mb-10 lg:mb-16"&gt; &lt;div class="mb-3 max-w-max rounded-lg bg-blue-100 px-3 py-1 text-blue-600"&gt; &lt;p class="text-sm font-bold uppercase tracking-wider"&gt;VIDEO SERIES&lt;/p&gt; &lt;/div&gt; &lt;h2 class="text-3xl lg:text-6xl font-bold capitalize mb-4"&gt; Explore Our Video Library &lt;/h2&gt; &lt;p class="text-lg lg:text-xl max-w-3xl text-neutral-700"&gt; Dive into our collection of tutorials, webinars, and product showcases. Select a video from the list to start watching. &lt;/p&gt; &lt;/div&gt; &lt;div class="grid grid-cols-1 lg:grid-cols-12 gap-8"&gt; &lt;!-- Main Video Player --&gt; &lt;div class="lg:col-span-8"&gt; &lt;div class="bg-neutral-200 rounded-xl overflow-hidden aspect-video shadow-2xl mb-3"&gt; &lt;iframe :src="currentVideoUrl" title="Main YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen class="w-full h-full"&gt;&lt;/iframe&gt; &lt;/div&gt; &lt;div class="p-4 bg-neutral-100 rounded-lg shadow"&gt; &lt;h3 x-text="currentVideoTitle" class="text-xl lg:text-2xl font-semibold text-neutral-800"&gt;&lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- Playlist --&gt; &lt;div class="lg:col-span-4"&gt; &lt;h3 class="text-2xl font-semibold mb-5 text-neutral-800"&gt;Up Next&lt;/h3&gt; &lt;div class="space-y-3 max-h-\[400px\] lg:max-h-\[calc(100vh-250px)\] overflow-y-auto pr-2 custom-scrollbar"&gt; &lt;template x-for="video in videos" :key="video.id"&gt; &lt;div @click="playVideo(video)" class="flex items-center gap-4 p-3 rounded-lg cursor-pointer transition-all duration-300 transform hover:scale-\[1.02\] hover:shadow-lg" :class="currentVideoTitle === video.title ? 'bg-blue-100 border-2 border-blue-500 shadow-md' : 'bg-white hover:bg-neutral-50 border'"&gt; &lt;img :src="video.thumb" :alt="video.title + ' Thumbnail'" class="w-28 h-\[70px\] object-cover rounded-md flex-shrink-0"&gt; &lt;div class="overflow-hidden"&gt; &lt;h4 class="font-semibold truncate" :class="currentVideoTitle === video.title ? 'text-blue-700' : 'text-neutral-800'" x-text="video.title"&gt;&lt;/h4&gt; &lt;p class="text-sm" :class="currentVideoTitle === video.title ? 'text-blue-600' : 'text-neutral-500'" x-text="video.duration"&gt;&lt;/p&gt; &lt;/div&gt; &lt;i class="fas fa-play-circle text-2xl ml-auto" :class="currentVideoTitle === video.title ? 'text-blue-500' : 'text-neutral-400'"&gt;&lt;/i&gt; &lt;/div&gt; &lt;/template&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;style&gt; .custom-scrollbar::-webkit-scrollbar { width: 8px; } .custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; } .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; } .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; } &lt;/style&gt; &lt;/section&gt;  COPY  ```
<section class="container mx-auto my-8 px-6 lg:my-16 lg:px-16" x-data="{ 
    currentVideoUrl: 'https://www.youtube.com/embed/__NeP0RqACU?autoplay=0&rel=0',
    currentVideoTitle: 'Introduction to SenangStart',
    videos: [
        { id: 1, title: 'Introduction to SenangStart', duration: '5:30', url: 'https://www.youtube.com/embed/__NeP0RqACU?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/3B82F6/FFFFFF?text=Vid1' },
        { id: 2, title: 'Advanced Features Tutorial', duration: '12:15', url: 'https://www.youtube.com/embed/YgGzAKP_HuM?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid2' },
        { id: 3, title: 'Client Success: Acme Corp', duration: '8:42', url: 'https://www.youtube.com/embed/L_LUpnjgPso?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid3' },
        { id: 4, title: 'Webinar: Future of Web Design', duration: '45:10', url: 'https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid4' }
    ],
    playVideo(video) {
        this.currentVideoUrl = video.url;
        this.currentVideoTitle = video.title;
    }
}">
    <div class="text-left mb-10 lg:mb-16">
         <div class="mb-3 max-w-max rounded-lg bg-blue-100 px-3 py-1 text-blue-600">
            <p class="text-sm font-bold uppercase tracking-wider">VIDEO SERIES</p>
        </div>
        <h2 class="text-3xl lg:text-6xl font-bold capitalize mb-4">
            Explore Our Video Library
        </h2>
        <p class="text-lg lg:text-xl max-w-3xl text-neutral-700">
            Dive into our collection of tutorials, webinars, and product showcases. Select a video from the list to start watching.
        </p>
    </div>

    <div class="grid grid-cols-1 lg:grid-cols-12 gap-8">
        <!-- Main Video Player -->
        <div class="lg:col-span-8">
            <div class="bg-neutral-200 rounded-xl overflow-hidden aspect-video shadow-2xl mb-3">
                <iframe :src="currentVideoUrl" title="Main YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen class="w-full h-full"></iframe>
            </div>
            <div class="p-4 bg-neutral-100 rounded-lg shadow">
                 <h3 x-text="currentVideoTitle" class="text-xl lg:text-2xl font-semibold text-neutral-800"></h3>
            </div>
        </div>

        <!-- Playlist -->
        <div class="lg:col-span-4">
            <h3 class="text-2xl font-semibold mb-5 text-neutral-800">Up Next</h3>
            <div class="space-y-3 max-h-[400px] lg:max-h-[calc(100vh-250px)] overflow-y-auto pr-2 custom-scrollbar">
                <template x-for="video in videos" :key="video.id">
                    <div 
                        @click="playVideo(video)" 
                        class="flex items-center gap-4 p-3 rounded-lg cursor-pointer transition-all duration-300 transform hover:scale-[1.02] hover:shadow-lg"
                        :class="currentVideoTitle === video.title ? 'bg-blue-100 border-2 border-blue-500 shadow-md' : 'bg-white hover:bg-neutral-50 border'">
                        <img :src="video.thumb" :alt="video.title + ' Thumbnail'" class="w-28 h-[70px] object-cover rounded-md flex-shrink-0">
                        <div class="overflow-hidden">
                            <h4 class="font-semibold truncate" :class="currentVideoTitle === video.title ? 'text-blue-700' : 'text-neutral-800'" x-text="video.title"></h4>
                            <p class="text-sm" :class="currentVideoTitle === video.title ? 'text-blue-600' : 'text-neutral-500'" x-text="video.duration"></p>
                        </div>
                         <i class="fas fa-play-circle text-2xl ml-auto" :class="currentVideoTitle === video.title ? 'text-blue-500' : 'text-neutral-400'"></i>
                    </div>
                </template>
            </div>
        </div>
    </div>
    <style>
        .custom-scrollbar::-webkit-scrollbar {
            width: 8px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #cbd5e1; 
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
    </style>
</section>
```

 

 

  VIDEO SERIES

 

 Explore Our Video Library 
---------------------------

 Dive into our collection of tutorials, webinars, and product showcases. Select a video from the list to start watching.

 

   


 

 

 ### Up Next

  ![]()
 

  

  

 

 

  

  &lt;section layout="container" space="m-x:auto m-y:large p-x:medium-3x tw-lg:m-y:big-3x tw-lg:p-x:big-3x" x-data="{ currentVideoUrl: 'https://www.youtube.com/embed/\_\_NeP0RqACU?autoplay=0&amp;rel=0', currentVideoTitle: 'Introduction to SenangStart', videos: \[ { id: 1, title: 'Introduction to SenangStart', duration: '5:30', url: 'https://www.youtube.com/embed/\_\_NeP0RqACU?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/3B82F6/FFFFFF?text=Vid1' }, { id: 2, title: 'Advanced Features Tutorial', duration: '12:15', url: 'https://www.youtube.com/embed/YgGzAKP\_HuM?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid2' }, { id: 3, title: 'Client Success: Acme Corp', duration: '8:42', url: 'https://www.youtube.com/embed/L\_LUpnjgPso?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid3' }, { id: 4, title: 'Webinar: Future of Web Design', duration: '45:10', url: 'https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&amp;rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid4' } \], playVideo(video) { this.currentVideoUrl = video.url; this.currentVideoTitle = video.title; } }"&gt; &lt;div space="m-b:large-3x tw-lg:m-b:big-3x" visual="text:left"&gt; &lt;div space="m-b:small-3x max-w:\[max-content\] p-x:small-3x p-y:tiny" visual="rounded:medium bg:blue-100 text:blue-600"&gt; &lt;p visual="text-size:small font:tw-bold uppercase" class="tracking-wider"&gt;VIDEO SERIES&lt;/p&gt; &lt;/div&gt; &lt;h2 space="m-b:medium" visual="text-size:grand tw-lg:text-size:mega font:tw-bold capitalize"&gt; Explore Our Video Library &lt;/h2&gt; &lt;p space="max-w:\[3xl\]" visual="text-size:large tw-lg:text-size:big text:neutral-700"&gt; Dive into our collection of tutorials, webinars, and product showcases. Select a video from the list to start watching. &lt;/p&gt; &lt;/div&gt; &lt;div layout="grid grid-cols:1 tw-lg:grid-cols:12" space="g:large"&gt; &lt;!-- Main Video Player --&gt; &lt;div layout="tw-lg:col-span:8"&gt; &lt;div layout="overflow:hidden" space="m-b:small-3x" visual="bg:neutral-200 rounded:medium shadow:giant" class="aspect-video"&gt; &lt;iframe :src="currentVideoUrl" title="Main YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen space="w:\[100%\] h:\[100%\]"&gt;&lt;/iframe&gt; &lt;/div&gt; &lt;div space="p:medium" visual="bg:neutral-100 rounded:medium shadow:small"&gt; &lt;h3 x-text="currentVideoTitle" visual="text-size:big tw-lg:text-size:huge font:tw-semibold text:neutral-800"&gt;&lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- Playlist --&gt; &lt;div layout="tw-lg:col-span:4"&gt; &lt;h3 space="m-b:medium-2x" visual="text-size:huge font:tw-semibold text:neutral-800"&gt;Up Next&lt;/h3&gt; &lt;div space="max-h:\[400px\] tw-lg:max-h:\[calc(100vh-250px)\] p-r:small" class="space-y-3 overflow-y-auto custom-scrollbar"&gt; &lt;template x-for="video in videos" :key="video.id"&gt; &lt;div @click="playVideo(video)" layout="flex items:center" space="g:medium p:small-3x" visual="rounded:medium cursor:pointer transition:all duration:slow hover:shadow:big" class="transform hover:scale-\[1.02\]" :class="currentVideoTitle === video.title ? 'bg-blue-100 border-2 border-blue-500 shadow-md' : 'bg-white hover:bg-neutral-50 border'"&gt; &lt;img :src="video.thumb" :alt="video.title + ' Thumbnail'" layout="object:cover shrink-0" space="w:giant-2x h:\[70px\]" visual="rounded:small"&gt; &lt;div layout="overflow:hidden"&gt; &lt;h4 visual="font:tw-semibold truncate" :class="currentVideoTitle === video.title ? 'text-blue-700' : 'text-neutral-800'" x-text="video.title"&gt;&lt;/h4&gt; &lt;p visual="text-size:small" :class="currentVideoTitle === video.title ? 'text-blue-600' : 'text-neutral-500'" x-text="video.duration"&gt;&lt;/p&gt; &lt;/div&gt; &lt;i space="m-l:auto" visual="text-size:huge" class="fas fa-play-circle" :class="currentVideoTitle === video.title ? 'text-blue-500' : 'text-neutral-400'"&gt;&lt;/i&gt; &lt;/div&gt; &lt;/template&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;style&gt; .custom-scrollbar::-webkit-scrollbar { width: 8px; } .custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; } .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; } .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; } &lt;/style&gt; &lt;/section&gt;  COPY  ```
<section layout="container" space="m-x:auto m-y:large p-x:medium-3x tw-lg:m-y:big-3x tw-lg:p-x:big-3x" x-data="{ 
    currentVideoUrl: 'https://www.youtube.com/embed/__NeP0RqACU?autoplay=0&rel=0',
    currentVideoTitle: 'Introduction to SenangStart',
    videos: [
        { id: 1, title: 'Introduction to SenangStart', duration: '5:30', url: 'https://www.youtube.com/embed/__NeP0RqACU?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/3B82F6/FFFFFF?text=Vid1' },
        { id: 2, title: 'Advanced Features Tutorial', duration: '12:15', url: 'https://www.youtube.com/embed/YgGzAKP_HuM?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid2' },
        { id: 3, title: 'Client Success: Acme Corp', duration: '8:42', url: 'https://www.youtube.com/embed/L_LUpnjgPso?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid3' },
        { id: 4, title: 'Webinar: Future of Web Design', duration: '45:10', url: 'https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1&rel=0', thumb: 'https://placehold.co/120x70/6B7280/FFFFFF?text=Vid4' }
    ],
    playVideo(video) {
        this.currentVideoUrl = video.url;
        this.currentVideoTitle = video.title;
    }
}">
    <div space="m-b:large-3x tw-lg:m-b:big-3x" visual="text:left">
         <div space="m-b:small-3x max-w:[max-content] p-x:small-3x p-y:tiny" visual="rounded:medium bg:blue-100 text:blue-600">
            <p visual="text-size:small font:tw-bold uppercase" class="tracking-wider">VIDEO SERIES</p>
        </div>
        <h2 space="m-b:medium" visual="text-size:grand tw-lg:text-size:mega font:tw-bold capitalize">
            Explore Our Video Library
        </h2>
        <p space="max-w:[3xl]" visual="text-size:large tw-lg:text-size:big text:neutral-700">
            Dive into our collection of tutorials, webinars, and product showcases. Select a video from the list to start watching.
        </p>
    </div>

    <div layout="grid grid-cols:1 tw-lg:grid-cols:12" space="g:large">
        <!-- Main Video Player -->
        <div layout="tw-lg:col-span:8">
            <div layout="overflow:hidden" space="m-b:small-3x" visual="bg:neutral-200 rounded:medium shadow:giant" class="aspect-video">
                <iframe :src="currentVideoUrl" title="Main YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen space="w:[100%] h:[100%]"></iframe>
            </div>
            <div space="p:medium" visual="bg:neutral-100 rounded:medium shadow:small">
                 <h3 x-text="currentVideoTitle" visual="text-size:big tw-lg:text-size:huge font:tw-semibold text:neutral-800"></h3>
            </div>
        </div>

        <!-- Playlist -->
        <div layout="tw-lg:col-span:4">
            <h3 space="m-b:medium-2x" visual="text-size:huge font:tw-semibold text:neutral-800">Up Next</h3>
            <div space="max-h:[400px] tw-lg:max-h:[calc(100vh-250px)] p-r:small" class="space-y-3 overflow-y-auto custom-scrollbar">
                <template x-for="video in videos" :key="video.id">
                    <div 
                        @click="playVideo(video)" 
                        layout="flex items:center" space="g:medium p:small-3x" visual="rounded:medium cursor:pointer transition:all duration:slow hover:shadow:big" class="transform hover:scale-[1.02]"
                        :class="currentVideoTitle === video.title ? 'bg-blue-100 border-2 border-blue-500 shadow-md' : 'bg-white hover:bg-neutral-50 border'">
                        <img :src="video.thumb" :alt="video.title + ' Thumbnail'" layout="object:cover shrink-0" space="w:giant-2x h:[70px]" visual="rounded:small">
                        <div layout="overflow:hidden">
                            <h4 visual="font:tw-semibold truncate" :class="currentVideoTitle === video.title ? 'text-blue-700' : 'text-neutral-800'" x-text="video.title"></h4>
                            <p visual="text-size:small" :class="currentVideoTitle === video.title ? 'text-blue-600' : 'text-neutral-500'" x-text="video.duration"></p>
                        </div>
                         <i space="m-l:auto" visual="text-size:huge" class="fas fa-play-circle" :class="currentVideoTitle === video.title ? 'text-blue-500' : 'text-neutral-400'"></i>
                    </div>
                </template>
            </div>
        </div>
    </div>
    <style>
        .custom-scrollbar::-webkit-scrollbar {
            width: 8px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #cbd5e1; 
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
    </style>
</section>
```

 

 

  

 

 

 

     SA 

 

 Senang Assistant Online • Help Center 

 

            

 

  

 

            

      

### Cookie Consent

 We use cookies to optimize website features, analyze traffic, and enhance your browsing experience. Choose your preferences below. [Privacy Policy](https://senangstart.com/privacy_policy)

 

 

  Accept All   Reject All   Customize Preferences  

 

 ### Manage Preferences

      

   Strictly Necessary Required  Essential for page operation, user login sessions, and secure navigation.

 

 



 

 

  Performance &amp; Analytics Allows us to count visits and traffic sources to measure and improve our site performance.

 

  

  

  Marketing &amp; Targeting Used to understand visitor interests and deliver relevant promotional messages.

 

  

  

 

  Save Choices   Accept All