We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28a7406 + ccec486 commit dc3551aCopy full SHA for dc3551a
VideoStreamRecorder/WhammyRecorderHelper.js
@@ -3,8 +3,8 @@
3
4
function WhammyRecorderHelper(mediaStream, root) {
5
this.record = function(timeSlice) {
6
- if (!this.width) this.width = video.offsetWidth || 320;
7
- if (!this.height) this.height = video.offsetHeight || 240;
+ if (!this.width) this.width = video.videoWidth || 320;
+ if (!this.height) this.height = video.videoHeight || 240;
8
9
if (!this.video) {
10
this.video = {
0 commit comments