This commit is contained in:
2025-07-17 22:18:25 +03:00
parent c7825f20b9
commit fc523da998
2 changed files with 9 additions and 5 deletions

View File

@@ -136,18 +136,20 @@ export default function MovieContent({ movieId, initialMovie }: MovieContentProp
{/* Desktop-only Embedded Player */} {/* Desktop-only Embedded Player */}
{imdbId && ( {imdbId && (
<div id="movie-player" className="mt-10 hidden md:block rounded-lg bg-secondary/50 p-4 shadow-inner"> <div className="mt-10 space-y-4">
<div id="movie-player" className="hidden md:block rounded-lg bg-secondary/50 p-4 shadow-inner">
<MoviePlayer <MoviePlayer
id={movie.id.toString()} id={movie.id.toString()}
title={movie.title} title={movie.title}
poster={movie.poster_path || ''} poster={movie.poster_path || ''}
imdbId={imdbId} imdbId={imdbId}
/> />
<TorrentSelector </div>
<TorrentSelector
imdbId={imdbId} imdbId={imdbId}
type="movie" type="movie"
/> />
</div> </div>
)} )}
</div> </div>
</div> </div>

View File

@@ -139,14 +139,16 @@ export default function TVContent({ showId, initialShow }: TVContentProps) {
</div> </div>
{imdbId && ( {imdbId && (
<div id="movie-player" className="mt-10 hidden md:block rounded-lg bg-secondary/50 p-4 shadow-inner"> <div className="mt-10 space-y-4">
<div id="movie-player" className="hidden md:block rounded-lg bg-secondary/50 p-4 shadow-inner">
<MoviePlayer <MoviePlayer
id={show.id.toString()} id={show.id.toString()}
title={show.name} title={show.name}
poster={show.poster_path || ''} poster={show.poster_path || ''}
imdbId={imdbId} imdbId={imdbId}
/> />
<TorrentSelector </div>
<TorrentSelector
imdbId={imdbId} imdbId={imdbId}
type="tv" type="tv"
totalSeasons={show.number_of_seasons} totalSeasons={show.number_of_seasons}