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 93060bf commit ef0adcdCopy full SHA for ef0adcd
1 file changed
src/js/modules/utils.es6
@@ -121,13 +121,13 @@ var utils = {
121
if (options.videoHeight && options.videoWidth) {
122
return dimensions;
123
} else if (options.videoHeight) {
124
- dimensions.width = ((options.videoHeight) / 390) * 640;
+ dimensions.width = ((options.videoHeight) / 3) * 4;
125
126
} else if (options.videoWidth) {
127
- dimensions.height = ((dimensions.width) / 640) * 390;
+ dimensions.height = ((dimensions.width) / 4) * 3;
128
129
} else {
130
- [dimensions.width, dimensions.height] = [640, 390];
+ [dimensions.width, dimensions.height] = [800, 600];
131
132
}
133
0 commit comments