mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
UI Fixes (#11648)
* Add cursor pointer to preset dropdown * Catch key index * Fix iOS mime type
This commit is contained in:
parent
9cb3e11df6
commit
1c5e7ebb48
@ -104,14 +104,18 @@ export function AnimatedEventCard({ event }: AnimatedEventCardProps) {
|
||||
/>
|
||||
) : (
|
||||
<video
|
||||
src={`${baseUrl}api/review/${event.id}/preview?format=ts`}
|
||||
preload="auto"
|
||||
autoPlay
|
||||
playsInline
|
||||
muted
|
||||
disableRemotePlayback
|
||||
loop
|
||||
>
|
||||
<source
|
||||
src={`${baseUrl}api/review/${event.id}/preview?format=mp4`}
|
||||
type="video/mp4"
|
||||
/>
|
||||
</video>
|
||||
)}
|
||||
</div>
|
||||
<div className="absolute inset-x-0 bottom-0 h-6 rounded bg-gradient-to-t from-slate-900/50 to-transparent">
|
||||
|
@ -672,7 +672,9 @@ export function InProgressPreview({
|
||||
setReviewed(review.id);
|
||||
}
|
||||
|
||||
if (previewFrames[key + 1]) {
|
||||
setKey(key + 1);
|
||||
}
|
||||
}, MIN_LOAD_TIMEOUT_MS);
|
||||
|
||||
// we know that these deps are correct
|
||||
|
@ -594,6 +594,7 @@ function PtzControlPanel({
|
||||
return (
|
||||
<DropdownMenuItem
|
||||
key={preset}
|
||||
className="cursor-pointer"
|
||||
onSelect={() => sendPtz(`preset_${preset}`)}
|
||||
>
|
||||
{preset}
|
||||
|
Loading…
Reference in New Issue
Block a user