fix: trickplay images not showing up

This commit is contained in:
Prayag Prajapati committed 2024-11-21 14:24:16 +05:30
1 parent 45f67aac40
commit 61fa734629
5 files changed
+45 -42

No files matched your search

+2
View File
@@ -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">