fix face expression detection (#56)
parent
e13a6d684b
commit
76daa38bce
|
@ -7,10 +7,9 @@ export function bufferToVideo(buf: Blob): Promise<HTMLVideoElement> {
|
|||
const video = env.getEnv().createVideoElement();
|
||||
video.oncanplay = () => resolve(video);
|
||||
video.onerror = reject;
|
||||
// video.type = buf.type;
|
||||
video.playsInline = true;
|
||||
video.autoplay = true;
|
||||
video.muted = true;
|
||||
video.src = URL.createObjectURL(buf);
|
||||
video.play();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue