|
编译的时候全都都勾了
navigator.mediaDevices.getUserMedia({ video: true }).then(function(stream) {
str = stream
var video = document.querySelector('video');
if ("srcObject" in video) {
video.srcObject = stream;
} else {
video.src = window.URL.createObjectURL(stream);
}
worke_take_photo(ArcFacePlus, serial, replaces)
}).catch(function(err) {
document.getElementsByClassName("tc")[0].style.display = "none"
var ic = document.getElementsByClassName("icon-iconfontyoujiantou-copy")
for (var i in ic) {
if (i < ic.length) {
ic.classList.remove("c2e69a5");
}
}
}); |
|