Commit bc81ef00 authored by liujiangnan's avatar liujiangnan

feat: 广锴不信,非得用原视频

parent c8f35419
...@@ -368,10 +368,10 @@ cc.Class({ ...@@ -368,10 +368,10 @@ cc.Class({
getData(async (data) => { getData(async (data) => {
console.log('data:', JSON.stringify(data)); console.log('data:', JSON.stringify(data));
this.data = data || this.getDefaultData(); this.data = data || this.getDefaultData();
this.getVideoUrl(videoUrl => { // this.getVideoUrl(videoUrl => {
this.data.video_url = videoUrl; // this.data.video_url = videoUrl;
this.videoPlayer.remoteURL = this.data.video_url; this.videoPlayer.remoteURL = this.data.video_url;
}); // });
await this.initView(); await this.initView();
}); });
......
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