We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55fa289 commit 7cd89eeCopy full SHA for 7cd89ee
1 file changed
src/gameobjects/Video.js
@@ -274,7 +274,7 @@ Phaser.Video.prototype = {
274
275
var _streamError = function(e) {
276
_this.onError.dispatch(_this, e);
277
- }
+ };
278
279
navigator.getUserMedia({ audio: captureAudio, video: true }, _streamStart, _streamError);
280
@@ -316,7 +316,7 @@ Phaser.Video.prototype = {
316
317
var change = false;
318
319
- if (typeof width === 'undefined' || width === null) { width = this.video.videoWidth; change = true }
+ if (typeof width === 'undefined' || width === null) { width = this.video.videoWidth; change = true; }
320
if (typeof height === 'undefined' || height === null) { height = this.video.videoHeight; }
321
322
// if (change)
0 commit comments