mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Support using thumbnail for in progress detections
This commit is contained in:
parent
3b8180e670
commit
48d8520ee9
@ -193,7 +193,7 @@ export default function SearchThumbnailPlayer({
|
||||
src={
|
||||
searchResult.thumb_path
|
||||
? `${apiHost}${searchResult.thumb_path.replace("/media/frigate/", "")}`
|
||||
: ""
|
||||
: `${apiHost}api/events/${searchResult.id}/thumbnail.jpg`
|
||||
}
|
||||
loading={isSafari ? "eager" : "lazy"}
|
||||
onLoad={() => {
|
||||
|
||||
@ -56,6 +56,7 @@ export default function Search() {
|
||||
zones: searchSearchParams["zones"],
|
||||
before: searchSearchParams["before"],
|
||||
after: searchSearchParams["after"],
|
||||
include_thumbnails: 0,
|
||||
},
|
||||
]
|
||||
: null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user