Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "vue-webcam", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A Vue component for capturing image from webcam.", | ||
@@ -5,0 +5,0 @@ "main": "VueWebcam.js", |
@@ -60,3 +60,3 @@ const Vue = require('vue'); | ||
const video = this.$els.video; | ||
const video = this.$refs.video; | ||
if (!this.ctx) { | ||
@@ -86,3 +86,3 @@ const canvas = document.createElement('canvas'); | ||
mounted: function () { | ||
this.video = this.$els.video; | ||
this.video = this.$refs.video; | ||
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.oGetUserMedia; | ||
@@ -89,0 +89,0 @@ |
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
5241