fix: trickplay images not showing up
This commit is contained in:
5 files changed
+45
-42
No files matched your search
@@ -467,6 +467,7 @@ function VideoPlayer() {
|
||||
const trickplayResolutions = mediaSource.id
|
||||
? item?.Trickplay?.[mediaSource.id]
|
||||
: null;
|
||||
console.log(item);
|
||||
if (trickplayResolutions) {
|
||||
let bestWidth: number | undefined;
|
||||
const maxWidth = window.screen.width * window.devicePixelRatio * 0.2;
|
||||
@@ -553,6 +554,7 @@ function VideoPlayer() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (currentChapter?.[0]?.Name) {
|
||||
return (
|
||||
<div className="flex flex-column video-osb-bubble glass">
|
||||
|
||||
@@ -55,7 +55,7 @@ import TrailerButton from "@/components/buttons/trailerButton";
|
||||
import ShowMoreText from "@/components/showMoreText";
|
||||
import { SeasonSelectorSkeleton } from "@/components/skeleton/seasonSelector";
|
||||
import { getTypeIcon } from "@/components/utils/iconsCollection";
|
||||
import { setBackdrop, useBackdropStore } from "@/utils/store/backdrop";
|
||||
import { useBackdropStore } from "@/utils/store/backdrop";
|
||||
|
||||
import IconLink from "@/components/iconLink";
|
||||
import EpisodeSkeleton from "@/components/skeleton/episode";
|
||||
@@ -103,6 +103,8 @@ function SeriesTitlePage() {
|
||||
|
||||
const api = Route.useRouteContext().api;
|
||||
|
||||
const setBackdrop = useBackdropStore((s) => s.setBackdrop);
|
||||
|
||||
const user = useCentralStore((s) => s.currentUser);
|
||||
|
||||
const item = useQuery({
|
||||
|
||||
Reference in new issue
Block a user