Skip to content

Commit

Permalink
Update src/dom/dom.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek authored Feb 27, 2024
1 parent 62fae2d commit a300d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ p5.prototype.createCapture = function(...args) {
catch(err) {
domElement.src = stream;
}
}, console.err);
}, console.error);

const videoEl = addElement(domElement, this, true);
videoEl.loadedmetadata = false;
Expand Down

0 comments on commit a300d25

Please sign in to comment.