Actualizacion con cambios de miguel

parent c5f68f9d
......@@ -95,7 +95,7 @@
if (width && height) {
canvas.width = calculatedRatio.width;
canvas.height = calculatedRatio.height;
context.drawImage(video, 0, 0, canvas.width, canvas.height);
context.drawImage(video, 0, 0);
var data = canvas.toDataURL('image/png');
photo.setAttribute('src', data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment