Commit 126da80b authored by Tt's avatar Tt

修复重播bug

parent fda2e532
......@@ -5319,31 +5319,6 @@
"btn_go": {
"__id__": 101
},
"barTag": {
"__id__": 117
},
"ProgressBar": {
"__id__": 115
},
"currentTimeLabel": {
"__id__": 129
},
"touchlayer": null,
"layout_video": {
"__id__": 113
},
"videoControls": {
"__id__": 114
},
"pauseButton": {
"__id__": 125
},
"playButton": {
"__id__": 122
},
"video_canvas": {
"__id__": 10
},
"_id": "ecvaVWEwVJS5w6icTw0NSx"
},
{
......@@ -5677,7 +5652,7 @@
"ctor": "Float64Array",
"array": [
-833.906,
-458.762,
-392.138,
0,
0,
0,
......@@ -5931,11 +5906,11 @@
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 12,
"_alignFlags": 0,
"_left": 101.09400000000005,
"_right": 0,
"_top": 0,
"_bottom": 36.238,
"_bottom": 102.86200000000002,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
......@@ -6246,7 +6221,7 @@
"ctor": "Float64Array",
"array": [
719.777,
-458.136,
-391.512,
0,
0,
0,
......@@ -7028,7 +7003,7 @@
"ctor": "Float64Array",
"array": [
-748.719,
-465.866,
-399.242,
0,
0,
0,
......
......@@ -114,10 +114,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.WrongList = [];
}
async playVideo() {
playVideo() {
this.videoCtrl.active = true;
this.node.getChildByName("bg").active = false;
this.vplayer.node.active = true;
this.videoCtrl.getComponent(videoCtrl).setVideCom(this.vplayer);
this.vplayer.volume = 1;
this.vplayer.node.scale = 1;
......
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