mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-21 00:06:44 +01:00
remove console log
This commit is contained in:
parent
f94a946418
commit
222dc2f7c9
@ -16,8 +16,6 @@ export default function JSMpegPlayer({ camera }) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const fullscreen = () => {
|
const fullscreen = () => {
|
||||||
console.log("fullscreen");
|
|
||||||
|
|
||||||
if(video.els.canvas.webkitRequestFullScreen) {
|
if(video.els.canvas.webkitRequestFullScreen) {
|
||||||
video.els.canvas.webkitRequestFullScreen();
|
video.els.canvas.webkitRequestFullScreen();
|
||||||
}
|
}
|
||||||
@ -26,7 +24,7 @@ export default function JSMpegPlayer({ camera }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
video.els.canvas.addEventListener("click",fullscreen)
|
video.els.canvas.addEventListener('click',fullscreen)
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
video.destroy();
|
video.destroy();
|
||||||
|
Loading…
Reference in New Issue
Block a user