From 222dc2f7c96ee9a226f30c4995a4b402a64e1064 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sat, 19 Jun 2021 09:20:39 -0500 Subject: [PATCH] remove console log --- web/src/components/JSMpegPlayer.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/src/components/JSMpegPlayer.jsx b/web/src/components/JSMpegPlayer.jsx index 063c0be3c..9e45b598d 100644 --- a/web/src/components/JSMpegPlayer.jsx +++ b/web/src/components/JSMpegPlayer.jsx @@ -16,8 +16,6 @@ export default function JSMpegPlayer({ camera }) { ); const fullscreen = () => { - console.log("fullscreen"); - if(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 () => { video.destroy();