Update openface-demo.js
This commit is contained in:
parent
c2d3b2df05
commit
cff4f882f2
|
@ -236,8 +236,7 @@ function umSuccess(stream) {
|
|||
if (vid.mozCaptureStream) {
|
||||
vid.mozSrcObject = stream;
|
||||
} else {
|
||||
vid.src = (window.URL && window.URL.createObjectURL(stream)) ||
|
||||
stream;
|
||||
vid.srcObject = stream;
|
||||
}
|
||||
vid.play();
|
||||
vidReady = true;
|
||||
|
|
Loading…
Reference in New Issue