mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
use overlay so player state is maintained between camera switches
This commit is contained in:
parent
ac250cc891
commit
322c6cf61c
@ -255,7 +255,7 @@ export default function HlsVideoPlayer({
|
|||||||
onLoadedMetadata={() => {
|
onLoadedMetadata={() => {
|
||||||
handleLoadedMetadata();
|
handleLoadedMetadata();
|
||||||
|
|
||||||
if (videoRef.current) {
|
if (videoRef.current && volume) {
|
||||||
videoRef.current.volume = volume;
|
videoRef.current.volume = volume;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user