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 ...@@ -36,6 +36,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
} }
ngOnInit() { ngOnInit() {
window['vv']= this;
this.data = { this.data = {
contentObj: { contentObj: {
video_url: null video_url: null
...@@ -53,7 +54,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni ...@@ -53,7 +54,7 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
this.changeDetectorRef.markForCheck(); this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges(); this.changeDetectorRef.detectChanges();
this.refresh(); this.refresh();
window["air"].hideAirClassLoading(this.saveKey, this.data); window["air"] && window["air"].hideAirClassLoading(this.saveKey, this.data);
}, this.saveKey); }, 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