@mediapipe/control_utils
Advanced tools
Comparing version 0.5.1625178644 to 0.5.1625688215
@@ -42,3 +42,3 @@ (function(){/* | ||
function Ga(a){return L(a,function c(){var d=this;return I(c,function(f){if(1==f.g){if(!d.g||!d.g.onFrame){f.g=0;return}d.i.parent.style.display="flex";wa(d,0);return F(f,d.video.play(),3)}d.D();d.j=!0;Z(d);f.g=0})})} | ||
function Ba(a,b){return L(a,function d(){var f=this,g;return I(d,function(e){g=f;return e.return(navigator.mediaDevices.getUserMedia({video:{deviceId:{exact:b.deviceId}},audio:!1}).then(function(h){g.m=h;ya(g,h)}).catch(function(h){console.error("Failed to acquire camera feed: "+h);alert("Failed to acquire camera feed: "+h);throw h;}))})})} | ||
function Ba(a,b){return L(a,function d(){var f=this,g;return I(d,function(e){g=f;return e.return(navigator.mediaDevices.getUserMedia({video:{deviceId:b.deviceId},audio:!1}).then(function(h){g.m=h;ya(g,h)}).catch(function(h){console.error("Failed to acquire camera feed: "+h);alert("Failed to acquire camera feed: "+h);throw h;}))})})} | ||
function Ha(a,b){a.o=new pa({options:a.l.map(function(c){var d=void 0;"image"===c.type?d=S("https://fonts.gstatic.com/s/i/googlematerialicons/image/v12/gm_grey-24dp/1x/gm_image_gm_grey_24dp.png"):"video"===c.type&&(d=S("https://fonts.gstatic.com/s/i/googlematerialicons/videocam/v12/gm_grey-24dp/1x/gm_videocam_gm_grey_24dp.png"));return{name:c.label,value:c.label,data:c,prefix:d}}),onclick:function(c){a.i.parent.style.display="none";c.data.start()},C:function(){a.u.style.zIndex="2000"},B:function(){a.u.style.zIndex= | ||
@@ -45,0 +45,0 @@ "100"}},b)} |
{ | ||
"name": "@mediapipe/control_utils", | ||
"version": "0.5.1625178644", | ||
"version": "0.5.1625688215", | ||
"description": "Mediapipe Simple Control Panel", | ||
@@ -5,0 +5,0 @@ "main": "control_utils.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32561