Commit 85966102 authored by liujiaxin's avatar liujiaxin

add video cover

parent 6f580157
......@@ -36,6 +36,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
}
ngOnInit() {
window['vv']= this;
this.data = {
contentObj: {
video_url: null
......@@ -53,7 +54,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
window["air"].hideAirClassLoading(this.saveKey, this.data);
window["air"] && window["air"].hideAirClassLoading(this.saveKey, this.data);
}, this.saveKey);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment