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,13 +136,15 @@ 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}
/> />
</div>
<TorrentSelector <TorrentSelector
imdbId={imdbId} imdbId={imdbId}
type="movie" type="movie"

View File

@@ -139,13 +139,15 @@ 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}
/> />
</div>
<TorrentSelector <TorrentSelector
imdbId={imdbId} imdbId={imdbId}
type="tv" type="tv"