This commit is contained in:
Tamius Han 2021-01-31 01:34:43 +01:00
parent f1613b950c
commit 3ab619799a
2 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,7 @@ class PlayerData {
}
try {
const ths = this;
this.observer = new MutationObserver((m,o) => this.onPlayerDimensionsChanged(m,o,this).bind(this));
this.observer = new MutationObserver((m,o) => this.onPlayerDimensionsChanged(m,o,this));
const observerConf = {
attributes: true,

View File

@ -1,5 +1,6 @@
import Stretch from '../../../common/enums/stretch.enum';
import BrowserDetect from '../../conf/BrowserDetect';
import AspectRatio from '../../../common/enums/aspect-ratio.enum';
// računa vrednosti za transform-scale (x, y)
// transform: scale(x,y) se uporablja za raztegovanje videa, ne pa za približevanje