🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ack-angular-webcam

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ack-angular-webcam - npm Package Compare versions

Comparing version

to
1.3.4

2

package.json
{
"name": "ack-angular-webcam",
"version": "1.3.2",
"version": "1.3.4",
"description": "Angular2 webcam component. Based on MediaDevices and getUserMedia.js ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -264,3 +264,12 @@ "use strict";

this.isFallback = true;
this.flashPlayer = new videoHelp.Fallback(this.getVideoElm());
var vidElm = this.getVideoElm();
vidElm.setAttribute('data', this.options.fallbackSrc);
var params = vidElm.getElementsByTagName('param');
for (var x = params.length - 1; x >= 0; --x) {
if (params[x].getAttribute('name') == 'movie') {
params[x].setAttribute('value', this.options.fallbackSrc);
break;
}
}
this.flashPlayer = new videoHelp.Fallback(vidElm);
};

@@ -267,0 +276,0 @@ /** single image to FormData */

Sorry, the diff of this file is not supported yet