diff --git a/demos/web/js/openface-demo.js b/demos/web/js/openface-demo.js index f5bd862..6d03f26 100644 --- a/demos/web/js/openface-demo.js +++ b/demos/web/js/openface-demo.js @@ -233,11 +233,7 @@ function createSocket(address, name) { } function umSuccess(stream) { - if (vid.mozCaptureStream) { - vid.mozSrcObject = stream; - } else { - vid.srcObject = stream; - } + vid.srcObject = stream; vid.play(); vidReady = true; sendFrameLoop();