mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
fix preview scrubbing
This commit is contained in:
parent
ff919fd192
commit
5f00c5813b
@ -171,7 +171,7 @@ export default function PreviewThumbnailPlayer({
|
|||||||
{...swipeHandlers}
|
{...swipeHandlers}
|
||||||
>
|
>
|
||||||
{playingBack && (
|
{playingBack && (
|
||||||
<div className="absolute inset-0 animate-in fade-in pointer-events-none">
|
<div className="absolute inset-0 animate-in fade-in">
|
||||||
<PreviewContent
|
<PreviewContent
|
||||||
review={review}
|
review={review}
|
||||||
relevantPreview={relevantPreview}
|
relevantPreview={relevantPreview}
|
||||||
@ -486,7 +486,7 @@ function VideoPreview({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative size-full aspect-video bg-black pointer-events-none">
|
<div className="relative size-full aspect-video bg-black">
|
||||||
<video
|
<video
|
||||||
ref={playerRef}
|
ref={playerRef}
|
||||||
className="size-full aspect-video bg-black pointer-events-none"
|
className="size-full aspect-video bg-black pointer-events-none"
|
||||||
@ -654,9 +654,9 @@ function InProgressPreview({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative size-full flex items-center bg-black pointer-events-none">
|
<div className="relative size-full flex items-center bg-black">
|
||||||
<img
|
<img
|
||||||
className="size-full object-contain"
|
className="size-full object-contain pointer-events-none"
|
||||||
src={`${apiHost}api/preview/${previewFrames[key]}/thumbnail.webp`}
|
src={`${apiHost}api/preview/${previewFrames[key]}/thumbnail.webp`}
|
||||||
onLoad={handleLoad}
|
onLoad={handleLoad}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user