changed regular aard with aardGl in videodata

This commit is contained in:
Tamius Han 2020-05-26 01:41:06 +02:00
parent 6400f4cfd6
commit 3eeef5410f

View File

@ -3,6 +3,7 @@ import PlayerData from './PlayerData';
import Resizer from '../video-transform/Resizer';
import ArDetector from '../ar-detect/ArDetector';
import AspectRatio from '../../../common/enums/aspect-ratio.enum';
import AardGl from '../ar-detect/AardGl';
class VideoData {
@ -47,7 +48,8 @@ class VideoData {
};
this.arDetector = new ArDetector(this); // this starts Ar detection. needs optional parameter that prevets ardetdctor from starting
// this.arDetector = new ArDetector(this); // this starts Ar detection. needs optional parameter that prevets ardetdctor from starting
this.arDetector = new AardGl(this);
// player dimensions need to be in:
// this.player.dimensions