mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +08:00
加入访客拍照功能
This commit is contained in:
parent
9accc66289
commit
050e110414
@ -42,6 +42,12 @@
|
||||
return ;
|
||||
}
|
||||
},
|
||||
_addUserMedia: function () {
|
||||
return navigator.getUserMedia = navigator.getUserMedia ||
|
||||
navigator.webkitGetUserMedia ||
|
||||
navigator.mozGetUserMedia ||
|
||||
navigator.msGetUserMedia || null;
|
||||
},
|
||||
_initAddVisitMedia: function () {
|
||||
if (vc.component._addUserMedia()) {
|
||||
vc.component.addVisitCase.videoPlaying = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user