@wbx/view-plyr
Advanced tools
Comparing version 3.5.6-c to 3.5.6-d
{ | ||
"name": "@wbx/view-plyr", | ||
"version": "3.5.6-c", | ||
"version": "3.5.6-d", | ||
"description": "Plyr player as Webix view", | ||
@@ -5,0 +5,0 @@ "main": "plyr.js", |
@@ -77,7 +77,7 @@ webix.protoUI({ | ||
_normalizeRatio:function(x, y){ | ||
var x = x || this.$view.clientWidth, | ||
y = y || this.$view.clientHeight; | ||
x = x || this.$view.clientWidth; | ||
y = y || this.$view.clientHeight; | ||
var div = this._gcdRatio(x, y), | ||
ratioX = (x/div).toString(), | ||
ratioY = (y/div).toString(); | ||
ratioY = (y/div).toString(), | ||
ratio = ratioX+":"+ratioY; | ||
@@ -84,0 +84,0 @@ |
4758