|
|
@ -1,4 +1,9 @@
|
|
|
|
import { ArrowCircleRightIcon, CogIcon } from '@heroicons/react/outline';
|
|
|
|
import {
|
|
|
|
|
|
|
|
ArrowCircleRightIcon,
|
|
|
|
|
|
|
|
CogIcon,
|
|
|
|
|
|
|
|
FilmIcon,
|
|
|
|
|
|
|
|
PlayIcon,
|
|
|
|
|
|
|
|
} from '@heroicons/react/outline';
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
CheckCircleIcon,
|
|
|
|
CheckCircleIcon,
|
|
|
|
DocumentRemoveIcon,
|
|
|
|
DocumentRemoveIcon,
|
|
|
@ -111,6 +116,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
|
|
|
|
mediaLinks.push({
|
|
|
|
mediaLinks.push({
|
|
|
|
text: intl.formatMessage(messages.playonplex),
|
|
|
|
text: intl.formatMessage(messages.playonplex),
|
|
|
|
url: data.mediaInfo?.plexUrl,
|
|
|
|
url: data.mediaInfo?.plexUrl,
|
|
|
|
|
|
|
|
svg: <PlayIcon className="w-5 h-5 mr-1" />,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -123,6 +129,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
|
|
|
|
mediaLinks.push({
|
|
|
|
mediaLinks.push({
|
|
|
|
text: intl.formatMessage(messages.play4konplex),
|
|
|
|
text: intl.formatMessage(messages.play4konplex),
|
|
|
|
url: data.mediaInfo?.plexUrl4k,
|
|
|
|
url: data.mediaInfo?.plexUrl4k,
|
|
|
|
|
|
|
|
svg: <PlayIcon className="w-5 h-5 mr-1" />,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -135,6 +142,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
|
|
|
|
mediaLinks.push({
|
|
|
|
mediaLinks.push({
|
|
|
|
text: intl.formatMessage(messages.watchtrailer),
|
|
|
|
text: intl.formatMessage(messages.watchtrailer),
|
|
|
|
url: trailerUrl,
|
|
|
|
url: trailerUrl,
|
|
|
|
|
|
|
|
svg: <FilmIcon className="w-5 h-5 mr-1" />,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|