remove console log

This commit is contained in:
Blake Blackshear 2021-06-19 09:20:39 -05:00
parent f94a946418
commit 222dc2f7c9

View File

@ -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();