Rue De Letoile
HOME MOVIES SERIES FEED
รีวิวหนัง Reviews

‘The Bad Girl’s Heart’ Review: A Rom-Com That’s More Than Just Bad

When a cheerleading captain blackmails a hot guy who secretly works as a stripper, chaos and love ensue in unexpected ways.

A
4 Dec 2026 · 4 นาทีอ่าน
👁 2
Touchdown Kiss
Touchdown Kiss
วัยร้าย คว้าใจ พิชิตฝัน
📅 2019 🕒 114 นาที 🎬 Comedy, Drama, Romance
4.7
/ 10
คะแนนจาก TMDB

When it comes to teen romance movies that perfectly blend comedy and drama, many might think of ‘The Bad Girl’s Heart,’ a 2019 film directed by Sarawut Wichiensarn and starring talented young actors like Natsiya Prommart, Peerawit Atthachitsathaporn, and Anusa Wiangwang, who add color to the story. The movie tells the story of Cheryl, a cheerleading captain whose life turns upside down when her best friend betrays her, forcing her to transfer schools. There, she meets Quentin, a handsome guy whose secret she uses to blackmail him into protecting her. From that point, a relationship that started with coercion gradually develops into an irresistible love.</p> <h2>Synopsis (No Spoilers)</h2> <p>Cheryl (Natsiya Prommart) is a female student who has it all—looks and leadership. She is the cheerleading captain at Hawkins High, but her life takes a turn when her best friend Taylor (Anusa Wiangwang) betrays her by stealing her boyfriend and spreading rumors, forcing Cheryl to transfer to a new school, Grayscent Sander High School. There she meets Quentin (Peerawit Atthachitsathaporn), a hot guy known as a troublemaker and womanizer. But Cheryl discovers a secret Quentin tries to hide: he works as a stripper at a club. She uses this secret to blackmail him into being her bodyguard and protecting her from bullies.</p><p>From a relationship that begins with coercion and negotiation, the two end up spending a lot of time together, allowing each to see hidden sides of the other. Good feelings gradually develop, but how easy can it be when the past and secrets still haunt them? The movie takes you on a journey of love that started unintentionally.</p> <h2>Acting and Characters</h2> <p>The performances of the leads are a strong point of this film. Natsiya Prommart as Cheryl conveys the emotions of a girl facing betrayal and injustice in a sympathetic way. Meanwhile, Peerawit Atthachitsathaporn as Quentin, a cocky guy with a gentle side, makes the character multidimensional and engaging. Their chemistry works well, making the romantic and comedic scenes harmonious.</p><p>Supporting actors like Anusa Wiangwang as Taylor, the best friend turned enemy, successfully makes the audience frustrated as intended. Other characters like Zac (Phurinth Rueangwiwatcharuchat), Ben (Nattaphat Nimjirawat), and Riley (Sueangsuda Lawanprasert) also have roles that enhance the story. Although some characters may seem formulaic, overall the cast performs satisfactorily.</p> <h2>Direction, Cinematography, and Music</h2> <p>Director Sarawut Wichiensarn skillfully tells a story that blends comedy and drama. The pacing is tight and not overly drawn out. The overall look is modern and suitable for the teen target audience, with bright colors and camera angles that add liveliness to scenes, especially dance and light action sequences that increase the fun.</p><p>The music also effectively enhances the mood. The selected songs match the atmosphere of each scene, making it easier for viewers to get immersed. However, <a href="https://play-hd.com/" target="_blank" rel="noopener">หนังใหม่ฟรี</a> for those who want to fully experience this movie, it can be watched via online platforms that support free online viewing, new HD movies with Thai dubbing, full length, no buffering, ensuring you don’t miss any emotion.</p> <h2>Editorial Analysis</h2> <p>Although ‘The Bad Girl’s Heart’ uses many formulas of teen romance movies, the team delivers easy and enjoyable entertainment satisfactorily. The main characters’ issues and secrets make the story more interesting. The blackmail that starts the relationship may seem unrealistic, but it’s a mechanism that drives the story colorfully.</p><p>As an editorial team, we think this movie is suitable for those who want to relax with a romantic comedy that subtly conveys messages about forgiveness and self-acceptance. Although the TMDB score is 4.7/10, which may not be high, it doesn’t mean the movie has nothing good. If you’re a fan of teen movies or lighthearted romance, this could be a good choice for a relaxing evening.</p> <h2>Verdict</h2> <p>Overall, ‘The Bad Girl’s Heart’ is an entertaining movie, suitable for those who enjoy lighthearted teen romance. Despite some flaws, it’s still enjoyable to watch.</p> </div> <section class="mt-10"> <h2 class="font-display text-2xl tracking-wide text-white mb-4">Screenshots</h2> <div class="grid grid-cols-2 gap-3"> <div class="aspect-video rounded-xl overflow-hidden bg-ink-800"> <img src="/images/reviews/touchdown-kiss/bg-2.jpg" alt="Touchdown Kiss" loading="lazy" width="1280" height="720" class="w-full h-full object-cover"> </div> <div class="aspect-video rounded-xl overflow-hidden bg-ink-800"> <img src="/images/reviews/touchdown-kiss/bg-3.jpg" alt="Touchdown Kiss" loading="lazy" width="1280" height="720" class="w-full h-full object-cover"> </div> </div> </section> <section class="mt-10 grid sm:grid-cols-2 gap-4"> <div class="bg-emerald-500/10 ring-1 ring-emerald-500/30 rounded-2xl p-5"> <h3 class="text-emerald-400 font-semibold mb-3 flex items-center gap-2">👍 Pros</h3> <ul class="space-y-2 text-sm text-ink-200"> <li class="flex gap-2"><span class="text-emerald-400">+</span>Natural chemistry between the leads</li><li class="flex gap-2"><span class="text-emerald-400">+</span>Fun story with both comedy and drama</li><li class="flex gap-2"><span class="text-emerald-400">+</span>Good music and beautiful visuals</li> </ul> </div> <div class="bg-rose-500/10 ring-1 ring-rose-500/30 rounded-2xl p-5"> <h3 class="text-rose-400 font-semibold mb-3 flex items-center gap-2">👎 Cons</h3> <ul class="space-y-2 text-sm text-ink-200"> <li class="flex gap-2"><span class="text-rose-400">−</span>Formulaic plot</li><li class="flex gap-2"><span class="text-rose-400">−</span>Some scenes feel unrealistic</li> </ul> </div> </section> <section class="mt-10"> <h2 class="font-display text-2xl tracking-wide text-white mb-4">Top Cast</h2> <div class="grid grid-cols-3 sm:grid-cols-5 gap-4"> <a href="https://rue-de-letoile.com/en/people/natsiya-prommart-2381469" class="group block text-center mv-card"> <div class="mv-media aspect-[3/4] overflow-hidden rounded-xl bg-ink-800 ring-1 ring-ink-800/50"> <img src="https://image.tmdb.org/t/p/w185/lyIfnnQUc6BQb2DcHqTItv4gSg2.jpg" alt="Natsiya Prommart" loading="lazy" class="w-full h-full object-cover group-hover:scale-105 transition-transform"> </div> <div class="text-sm font-medium mt-2 text-white line-clamp-1 group-hover:text-brand-300">Natsiya Prommart</div> <div class="text-xs text-ink-400 line-clamp-1">Cheryl</div> </a> <a href="https://rue-de-letoile.com/en/people/phiravich-attachitsataporn-1832785" class="group block text-center mv-card"> <div class="mv-media aspect-[3/4] overflow-hidden rounded-xl bg-ink-800 ring-1 ring-ink-800/50"> <img src="https://image.tmdb.org/t/p/w185/kWBo5X0xjkPGTaZLoX3Px9Q5QTA.jpg" alt="Phiravich Attachitsataporn" loading="lazy" class="w-full h-full object-cover group-hover:scale-105 transition-transform"> </div> <div class="text-sm font-medium mt-2 text-white line-clamp-1 group-hover:text-brand-300">Phiravich Attachitsataporn</div> <div class="text-xs text-ink-400 line-clamp-1">Quentin</div> </a> <a href="https://rue-de-letoile.com/en/people/anusha-wiangwang-3832021" class="group block text-center mv-card"> <div class="mv-media aspect-[3/4] overflow-hidden rounded-xl bg-ink-800 ring-1 ring-ink-800/50"> <div class="w-full h-full grid place-items-center text-ink-600 text-3xl">👤</div> </div> <div class="text-sm font-medium mt-2 text-white line-clamp-1 group-hover:text-brand-300">Anusha Wiangwang</div> <div class="text-xs text-ink-400 line-clamp-1">Taylor</div> </a> <a href="https://rue-de-letoile.com/en/people/phurin-ruangvivatjarus-1832861" class="group block text-center mv-card"> <div class="mv-media aspect-[3/4] overflow-hidden rounded-xl bg-ink-800 ring-1 ring-ink-800/50"> <img src="https://image.tmdb.org/t/p/w185/39HcYyI2Nwv7nyJ4IovsiKrPCeo.jpg" alt="Phurin Ruangvivatjarus" loading="lazy" class="w-full h-full object-cover group-hover:scale-105 transition-transform"> </div> <div class="text-sm font-medium mt-2 text-white line-clamp-1 group-hover:text-brand-300">Phurin Ruangvivatjarus</div> <div class="text-xs text-ink-400 line-clamp-1">Zack</div> </a> <a href="https://rue-de-letoile.com/en/people/nattapat-nimjirawat-1601205" class="group block text-center mv-card"> <div class="mv-media aspect-[3/4] overflow-hidden rounded-xl bg-ink-800 ring-1 ring-ink-800/50"> <img src="https://image.tmdb.org/t/p/w185/rltyvbPYVI9ahRi5FNsqou8iAaw.jpg" alt="Nattapat Nimjirawat" loading="lazy" class="w-full h-full object-cover group-hover:scale-105 transition-transform"> </div> <div class="text-sm font-medium mt-2 text-white line-clamp-1 group-hover:text-brand-300">Nattapat Nimjirawat</div> <div class="text-xs text-ink-400 line-clamp-1">Ben</div> </a> </div> </section> <section class="mt-12" x-data="{ open: 0 }"> <h2 class="font-display text-2xl tracking-wide text-white mb-4">FAQ</h2> <div class="space-y-3"> <div class="bg-ink-900 rounded-xl ring-1 ring-ink-800/60 overflow-hidden"> <button @click="open === 0 ? open = null : open = 0" class="w-full text-left px-5 py-4 flex items-center justify-between gap-4"> <span class="text-white font-medium">How many parts does The Bad Girl’s Heart have?</span> <svg :class="open === 0 ? 'rotate-180' : ''" class="w-5 h-5 text-ink-400 shrink-0 transition" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg> </button> <div x-show="open === 0" x-collapse> <p class="px-5 pb-4 text-sm text-ink-300 leading-relaxed">It’s a standalone movie with no sequels.</p> </div> </div> <div class="bg-ink-900 rounded-xl ring-1 ring-ink-800/60 overflow-hidden"> <button @click="open === 1 ? open = null : open = 1" class="w-full text-left px-5 py-4 flex items-center justify-between gap-4"> <span class="text-white font-medium">When was The Bad Girl’s Heart released?</span> <svg :class="open === 1 ? 'rotate-180' : ''" class="w-5 h-5 text-ink-400 shrink-0 transition" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg> </button> <div x-show="open === 1" x-collapse> <p class="px-5 pb-4 text-sm text-ink-300 leading-relaxed">It was released in 2019.</p> </div> </div> <div class="bg-ink-900 rounded-xl ring-1 ring-ink-800/60 overflow-hidden"> <button @click="open === 2 ? open = null : open = 2" class="w-full text-left px-5 py-4 flex items-center justify-between gap-4"> <span class="text-white font-medium">Does The Bad Girl’s Heart have NC scenes?</span> <svg :class="open === 2 ? 'rotate-180' : ''" class="w-5 h-5 text-ink-400 shrink-0 transition" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg> </button> <div x-show="open === 2" x-collapse> <p class="px-5 pb-4 text-sm text-ink-300 leading-relaxed">There are suggestive scenes but not explicit.</p> </div> </div> <div class="bg-ink-900 rounded-xl ring-1 ring-ink-800/60 overflow-hidden"> <button @click="open === 3 ? open = null : open = 3" class="w-full text-left px-5 py-4 flex items-center justify-between gap-4"> <span class="text-white font-medium">Where can I watch The Bad Girl’s Heart?</span> <svg :class="open === 3 ? 'rotate-180' : ''" class="w-5 h-5 text-ink-400 shrink-0 transition" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg> </button> <div x-show="open === 3" x-collapse> <p class="px-5 pb-4 text-sm text-ink-300 leading-relaxed">It can be watched on online platforms; see details in the article.</p> </div> </div> </div> </section> <div class="mt-10 flex flex-wrap gap-2"> <a href="https://rue-de-letoile.com/en/tags/xsnx8t" class="text-sm bg-ink-800 hover:bg-brand-500 hover:text-ink-950 text-ink-300 px-3 py-1 rounded-full transition"> #xsnx8t </a> <a href="https://rue-de-letoile.com/en/tags/a97wwt" class="text-sm bg-ink-800 hover:bg-brand-500 hover:text-ink-950 text-ink-300 px-3 py-1 rounded-full transition"> #a97wwt </a> <a href="https://rue-de-letoile.com/en/tags/mggpfm" class="text-sm bg-ink-800 hover:bg-brand-500 hover:text-ink-950 text-ink-300 px-3 py-1 rounded-full transition"> #mggpfm </a> <a href="https://rue-de-letoile.com/en/tags/vfw9db" class="text-sm bg-ink-800 hover:bg-brand-500 hover:text-ink-950 text-ink-300 px-3 py-1 rounded-full transition"> #vfw9db </a> </div> </article> <section class="max-w-7xl mx-auto px-4 mt-16"> <h2 class="font-display text-2xl tracking-wide text-white mb-5">บทความที่เกี่ยวข้อง</h2> <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6"> <a href="https://rue-de-letoile.com/en/articles/review-atri-my-dear-moments-2024" class="group block mv-card rounded-2xl overflow-hidden bg-ink-900 ring-1 ring-ink-800/60 hover:ring-brand-500/40 shadow-card transition"> <div class="mv-media relative aspect-[16/9] overflow-hidden bg-ink-800"> <img src="/images/reviews/atri-my-dear-moments/bg-1.jpg" alt="อะโทริ: หุ่นยนต์สาวกับฤดูร้อนสุดท้ายของมนุษยชาติ ที่จะทำให้คุณร้องไห้โดยไม่ทันตั้งตัว" loading="lazy" width="1280" height="720" decoding="async" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"> <div class="absolute inset-0 bg-gradient-to-t from-ink-900 to-transparent"></div> <span class="absolute top-3 left-3 bg-brand-500 text-ink-950 text-[11px] font-bold uppercase tracking-wider px-2.5 py-1 rounded-full"> Reviews </span> </div> <div class="p-5"> <h3 class="font-semibold text-base text-white leading-snug line-clamp-2 group-hover:text-brand-300 transition"> ATRI: The Robot Girl and Humanity's Last Summer That Will Make You Cry Unprepared </h3> <p class="text-sm text-ink-400 mt-2 line-clamp-2">When the world is drowning, a one-legged boy meets a robot girl with a heart more human than human. 'ATRI -My Dear Moments-' is a series that doesn't just tell science fiction but asks how we give meaning to life.</p> <div class="text-xs text-ink-500 mt-3 flex items-center gap-3"> <span>Admin</span><span>·</span> <span>4 Dec 2026</span> <span>·</span><span>4 นาที</span> </div> </div> </a> <a href="https://rue-de-letoile.com/en/articles/3-movies-you-must-see-at-least-once-in-your-life-handpicked-from-a-film-lovers-heart" class="group block mv-card rounded-2xl overflow-hidden bg-ink-900 ring-1 ring-ink-800/60 hover:ring-brand-500/40 shadow-card transition"> <div class="mv-media relative aspect-[16/9] overflow-hidden bg-ink-800"> <img src="/images/movies/the-wild-robot/poster.jpg" alt="3 หนังที่ต้องดูให้ได้สักครั้งในชีวิต: คัดมาแล้วจากใจนักดูหนัง" loading="lazy" width="1280" height="720" decoding="async" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"> <div class="absolute inset-0 bg-gradient-to-t from-ink-900 to-transparent"></div> <span class="absolute top-3 left-3 bg-brand-500 text-ink-950 text-[11px] font-bold uppercase tracking-wider px-2.5 py-1 rounded-full"> Reviews </span> </div> <div class="p-5"> <h3 class="font-semibold text-base text-white leading-snug line-clamp-2 group-hover:text-brand-300 transition"> 3 Movies You Must See at Least Once in Your Life: Handpicked from a Film Lover's Heart </h3> <p class="text-sm text-ink-400 mt-2 line-clamp-2">A collection of 3 quality films that are both entertaining and touching, from heartwarming animation to an undying noir classic. If you haven't seen them yet, now is the time to open your heart and give them a try.</p> <div class="text-xs text-ink-500 mt-3 flex items-center gap-3"> <span>Admin</span><span>·</span> <span>4 Dec 2026</span> <span>·</span><span>3 นาที</span> </div> </div> </a> <a href="https://rue-de-letoile.com/en/articles/review-athhathhana-2018" class="group block mv-card rounded-2xl overflow-hidden bg-ink-900 ring-1 ring-ink-800/60 hover:ring-brand-500/40 shadow-card transition"> <div class="mv-media relative aspect-[16/9] overflow-hidden bg-ink-800"> <img src="/images/reviews/andhadhun/bg-1.jpg" alt="บทเพลงในโลกมืด: เมื่อคนตาบอดเห็นมากกว่าคนตาดี" loading="lazy" width="1280" height="720" decoding="async" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"> <div class="absolute inset-0 bg-gradient-to-t from-ink-900 to-transparent"></div> <span class="absolute top-3 left-3 bg-brand-500 text-ink-950 text-[11px] font-bold uppercase tracking-wider px-2.5 py-1 rounded-full"> Reviews </span> </div> <div class="p-5"> <h3 class="font-semibold text-base text-white leading-snug line-clamp-2 group-hover:text-brand-300 transition"> Songs in a Dark World: When the Blind See More Than the Sighted </h3> <p class="text-sm text-ink-400 mt-2 line-clamp-2">A review of a gripping Indian film that perfectly blends comedy with crime, featuring outstanding performances by Ayushmann Khurrana and Tabu.</p> <div class="text-xs text-ink-500 mt-3 flex items-center gap-3"> <span>Admin</span><span>·</span> <span>4 Dec 2026</span> <span>·</span><span>4 นาที</span> </div> </div> </a> <a href="https://rue-de-letoile.com/en/articles/review-dark-phoenix-2019" class="group block mv-card rounded-2xl overflow-hidden bg-ink-900 ring-1 ring-ink-800/60 hover:ring-brand-500/40 shadow-card transition"> <div class="mv-media relative aspect-[16/9] overflow-hidden bg-ink-800"> <img src="/images/reviews/dark-phoenix/bg-1.jpg" alt="รีวิว X-Men: Dark Phoenix – เมื่อซูเปอร์ฮีโร่ต้องเลือกระหว่างเพื่อนกับโลกทั้งใบ" loading="lazy" width="1280" height="720" decoding="async" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"> <div class="absolute inset-0 bg-gradient-to-t from-ink-900 to-transparent"></div> <span class="absolute top-3 left-3 bg-brand-500 text-ink-950 text-[11px] font-bold uppercase tracking-wider px-2.5 py-1 rounded-full"> Reviews </span> </div> <div class="p-5"> <h3 class="font-semibold text-base text-white leading-snug line-clamp-2 group-hover:text-brand-300 transition"> X-Men: Dark Phoenix Review – When a Superhero Must Choose Between Friends and the Entire World </h3> <p class="text-sm text-ink-400 mt-2 line-clamp-2">The final chapter of the new X-Men series may not shine as brightly as hoped, but it still offers food for thought about power and responsibility.</p> <div class="text-xs text-ink-500 mt-3 flex items-center gap-3"> <span>Admin</span><span>·</span> <span>3 Dec 2026</span> <span>·</span><span>4 นาที</span> </div> </div> </a> </div> </section> </main> <footer class="mt-20 bg-ink-900 border-t border-ink-800/60"> <div class="max-w-7xl mx-auto px-4 py-14 grid md:grid-cols-12 gap-10 text-sm"> <div class="md:col-span-3"> <a href="https://rue-de-letoile.com/en" class="inline-block mb-4"> <img src="/" alt="Rue De Letoile" class="h-16 w-auto"> </a> <p class="text-ink-400 leading-relaxed">ข่าวหนัง-ซีรีส์ รีวิว โปรแกรมหน้าหนัง ตัวอย่างหนัง</p> <div class="flex gap-3 mt-5"> </div> </div> <div class="md:col-span-2"> <h3 class="font-semibold text-white mb-4 uppercase text-xs tracking-wider">สำรวจ</h3> <ul class="space-y-2 text-ink-400"> <li><a href="https://rue-de-letoile.com/en/movies/upcoming" class="hover:text-brand-300">โปรแกรมหน้า</a></li> <li><a href="https://rue-de-letoile.com/en/movies" class="hover:text-brand-300">หนังทั้งหมด</a></li> <li><a href="https://rue-de-letoile.com/en/series" class="hover:text-brand-300">ซีรีส์</a></li> <li><a href="https://rue-de-letoile.com/en/articles" class="hover:text-brand-300">บทความ</a></li> </ul> </div> <div class="md:col-span-2"> <h3 class="font-semibold text-white mb-4 uppercase text-xs tracking-wider">หมวดหมู่</h3> <ul class="space-y-2 text-ink-400"> <li><a href="https://rue-de-letoile.com/en/categories/movie-news" class="hover:text-brand-300">Movie News</a></li> <li><a href="https://rue-de-letoile.com/en/categories/reviews" class="hover:text-brand-300">Reviews</a></li> <li><a href="https://rue-de-letoile.com/en/categories/coming-soon" class="hover:text-brand-300">Coming Soon</a></li> <li><a href="https://rue-de-letoile.com/en/categories/rankings" class="hover:text-brand-300">Rankings</a></li> <li><a href="https://rue-de-letoile.com/en/categories/trailers" class="hover:text-brand-300">Trailers</a></li> </ul> </div> <div class="md:col-span-2"> <h3 class="font-semibold text-white mb-4 uppercase text-xs tracking-wider">ข้อมูล</h3> <ul class="space-y-2 text-ink-400"> <li><a href="https://rue-de-letoile.com/en/about" class="hover:text-brand-300">เกี่ยวกับเรา</a></li> <li><a href="https://rue-de-letoile.com/en/terms" class="hover:text-brand-300">เงื่อนไขการใช้งาน</a></li> <li><a href="https://rue-de-letoile.com/en/privacy" class="hover:text-brand-300">นโยบายความเป็นส่วนตัว</a></li> <li><a href="https://rue-de-letoile.com/en/dmca" class="hover:text-brand-300">DMCA / Takedown</a></li> </ul> </div> <div class="md:col-span-3"> <h3 class="font-semibold text-white mb-4 uppercase text-xs tracking-wider">รับข่าวสาร</h3> <p class="text-ink-400 mb-3">สมัครรับข่าวหนังใหม่และซีรีส์เด่นทุกสัปดาห์</p> <form action="https://rue-de-letoile.com/en/subscribe" method="post" class="flex gap-2"> <input type="hidden" name="_token" value="ifPGuQLyFc34MwNcYNkgSZ7xfZFDqCNEcgCUleRw" autocomplete="off"> <input type="email" name="email" required placeholder="email@example.com" class="flex-1 bg-ink-950 border border-ink-800 rounded-lg px-3 py-2 text-sm focus:outline-none focus:border-brand-500 text-white placeholder-ink-500"> <button class="bg-brand-500 hover:bg-brand-400 text-ink-950 font-semibold px-4 rounded-lg text-sm transition">สมัคร</button> </form> </div> </div> <div class="border-t border-ink-800/60 py-5 text-center text-xs text-ink-500"> © 2026 </div> </footer> <div x-data="{ open: false, key: null, title: '' }" x-cloak @open-youtube.window="open = true; key = $event.detail.key; title = $event.detail.title || ''" @keydown.escape.window="open = false" x-show="open" class="fixed inset-0 z-[100] flex items-center justify-center p-4 sm:p-6 md:p-10 bg-black/90 backdrop-blur-sm" @click.self="open = false" x-transition.opacity> <div class="relative w-full max-w-[min(95vw,1400px)] mx-auto"> <button @click="open = false" class="absolute -top-10 right-0 text-white/80 hover:text-white text-3xl leading-none z-10" aria-label="ปิด">✕</button> <div class="relative w-full bg-black rounded-xl overflow-hidden shadow-2xl ring-1 ring-white/10" style="aspect-ratio: 16 / 9;"> <template x-if="open && key"> <iframe :src="`https://www.youtube-nocookie.com/embed/${key}?autoplay=1&rel=0&modestbranding=1`" title="YouTube trailer" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen class="absolute inset-0 w-full h-full"></iframe> </template> </div> <template x-if="title"> <div class="text-white/80 text-base mt-4 text-center px-4" x-text="title"></div> </template> </div> </div> <script> // Reading progress document.addEventListener('scroll', () => { const el = document.getElementById('reading-progress'); if (!el) return; const h = document.documentElement; const max = h.scrollHeight - h.clientHeight; el.style.width = max > 0 ? (h.scrollTop / max * 100).toFixed(2) + '%' : '0%'; }, { passive: true }); </script> </body> </html>