Commit 04743f1e authored by limingzhe's avatar limingzhe

fix: 倍速测试

parent 97bbb812
No preview for this file type
...@@ -352,8 +352,8 @@ cc.Class({ ...@@ -352,8 +352,8 @@ cc.Class({
"name": "niao_tex.png" "name": "niao_tex.png"
} }
}, },
"video_url": data.contentObj.video_url, "video_url": data.contentObj ? data.contentObj.video_url : data.video_url,
"article": data.contentObj.article, "article": data.contentObj ? data.contentObj.article : data.article,
"audioName": "" "audioName": ""
} }
}, },
...@@ -475,6 +475,10 @@ cc.Class({ ...@@ -475,6 +475,10 @@ cc.Class({
this.videoPlayer.stayOnBottom = false; this.videoPlayer.stayOnBottom = false;
cc.find(`Canvas/Controls`).active = false; cc.find(`Canvas/Controls`).active = false;
}, 3000); }, 3000);
if (this.videoPlayer.modifyVideoSpeed) {
this.videoPlayer.modifyVideoSpeed(2);
}
}, },
exitFullScreen() { exitFullScreen() {
......
...@@ -3,5 +3,6 @@ ...@@ -3,5 +3,6 @@
"packages": "packages", "packages": "packages",
"version": "2.4.5", "version": "2.4.5",
"id": "bec4fbe6-e8c3-4ec8-8062-ecc191fc2e19", "id": "bec4fbe6-e8c3-4ec8-8062-ecc191fc2e19",
"isNew": false "isNew": false,
"description": ""
} }
\ No newline at end of file
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