We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f725ac4 commit f78a4cbCopy full SHA for f78a4cb
1 file changed
src/gameobjects/Video.js
@@ -283,8 +283,8 @@ Phaser.Video.prototype = {
283
284
var self = this;
285
286
- navigator.getUserMedia({
287
- "audio": captureAudio,
+ navigator.getUserMedia({
+ "audio": captureAudio,
288
"video": true
289
},
290
function(stream) {
@@ -320,7 +320,7 @@ Phaser.Video.prototype = {
320
if (self.video.videoWidth > 0)
321
{
322
// Patch for Firefox bug where the height can't be read from the video
323
- var width = self.video.videoWidth
+ var width = self.video.videoWidth;
324
325
if (isNaN(self.video.videoHeight))
326
0 commit comments