From c6c27bf86a9d3f195d37e545af22ffc3f5e8238f Mon Sep 17 00:00:00 2001 From: CK <86251706+altCK129@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:51:17 +0530 Subject: [PATCH] Update AppleTVHero.tsx --- src/components/home/AppleTVHero.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/home/AppleTVHero.tsx b/src/components/home/AppleTVHero.tsx index 578c93623..5a849aca8 100644 --- a/src/components/home/AppleTVHero.tsx +++ b/src/components/home/AppleTVHero.tsx @@ -460,7 +460,7 @@ const AppleTVHero: React.FC = ({ // Fetch video list from TMDB to get the YouTube video ID const tmdbApiKey = await TMDBService.getInstance().getApiKey(); const videosRes = await fetch( - `https://api.themoviedb.org/3/${contentType}/${tmdbId}/videos?api_key=${tmdbApiKey}` + `https://api.themoviedb.org/3/${contentType}/${tmdbId}/videos?api_key=${tmdbApiKey}&language=en-US` ); if (!alive) return; @@ -475,9 +475,8 @@ const AppleTVHero: React.FC = ({ const videosData = await videosRes.json(); const results: any[] = videosData.results ?? []; - // Pick best YouTube trailer: official trailer > any trailer > teaser > any YouTube video + // Pick best YouTube trailer: any trailer > teaser > any YouTube video const pick = - results.find((v) => v.site === 'YouTube' && v.type === 'Trailer' && v.official) ?? results.find((v) => v.site === 'YouTube' && v.type === 'Trailer') ?? results.find((v) => v.site === 'YouTube' && v.type === 'Teaser') ?? results.find((v) => v.site === 'YouTube');