mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 09:35:42 +00:00
Update HeroSection.tsx
This commit is contained in:
parent
c75f6ae9d0
commit
e9d549cebb
1 changed files with 1 additions and 0 deletions
|
|
@ -1155,6 +1155,7 @@ const HeroSection: React.FC<HeroSectionProps> = memo(({
|
|||
logger.info('HeroSection', `Fetching TMDB videos for ${metadata.name} (tmdbId: ${resolvedTmdbId})`);
|
||||
|
||||
// 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}/${resolvedTmdbId}/videos?api_key=${tmdbApiKey}`
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue