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.
1 parent 28a7406 commit ccec486Copy full SHA for ccec486
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