Commit 37e0ebd3 authored by 李维's avatar 李维

添加视频控制组件

parent f11c96a8
{
"ver": "1.1.2",
"uuid": "a4f2cc1e-0615-4e43-a6e0-96bb0f7abc4d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "VideoControlBar",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 21
},
{
"__id__": 24
},
{
"__id__": 27
}
],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 36
}
],
"_prefab": {
"__id__": 37
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 120
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
100,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
}
],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 789,
"height": 9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
100,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-394.447,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9ab3d4fd-4a35-42c9-8765-cd10d11cdbdc"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "406wZYop9D2aRpagd7nuiR",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4d6c112d-8b3d-4c32-be3f-b45783e0c6de"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "480B29nphJA6YED4DUIFgt",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "markNode",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 9
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "34twh3ifZIPaYKCWna57S6",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "controlButton",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 11
},
{
"__id__": 14
},
{
"__id__": 17
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 20
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 155,
"height": 155
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-354.329,
-5.599,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "play",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 91,
"height": 91
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "215ed382-746a-4e37-9f7b-6ff19c33b914"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "c18o1hS1dJaIENF2MvURFk",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "pause",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 91,
"height": 91
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "09115af6-4543-42ff-ba71-33c861f0eb9b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "0doY5vk+RCELITL8R3G2gk",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "replay",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 91,
"height": 91
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "74dc7db0-2bad-4bb8-8bbc-f19767669a6f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "caR3d+1m9HkaQbf5Mix4vV",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "e6EaEyxpVO14/aMaOTGN39",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "dragButton",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
}
],
"_prefab": {
"__id__": 23
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 68,
"height": 68
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-279.604,
-6.62,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d589b6f2-f2c0-49b9-ac49-148906639984"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "305Bnt78BML5iK0PU65G5T",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "markPoint",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 25
}
],
"_prefab": {
"__id__": 26
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15,
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "359axb3wRFnpR16d4pl6Xc",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "time_label",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 28
},
{
"__id__": 31
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 34
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-40,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "start",
"_objFlags": 0,
"_parent": {
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
}
],
"_prefab": {
"__id__": 30
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80.08,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-277.521,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "00:00",
"_N$string": "00:00",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "ccNtS6tAREr6Sy5ZaTAO9J",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "end",
"_objFlags": 0,
"_parent": {
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": {
"__id__": 33
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80.08,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
491.716,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "59:59",
"_N$string": "59:59",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "c84DQy/K9PAYM9A6xIjUsz",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "0fp0R7vBRMBo86syd5lDDT",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "b6cd9VDDShMtamgZarg/uZh",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"setTimeoutIDs": [],
"setIntervalIDs": [],
"videoDuration": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "c02d26a4-e435-4a3f-abcf-72cef3fec835",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7f522e96-a4f7-436c-87b1-5adb2db280d4",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
/**
* 视频进度条控制组件
* 发送消息的方式
* video_play_end - 视频播放完成后发送,可以将播放按钮调整为结束状态
* update_video_progress - 视频进度更新时调用,传入一个0-1之间的数值
* update_video_status - 更新按钮状态,需要一个参数 0:暂停状态 1:播放状态 2:重播状态 // 0:暂停 1:播放中 2:重播
* hide_bar - 隐藏进度条
* show_bar - 显示进度条
* set_mark_points - 设置关键点标记 传入一个数组 [0.2, 0.25, 0.6, 1]
* set_start_end_label - 设置起始和结束,接受两个字符串类型的参数,如果不传参数或者传了空字符串就不显示标签, 第一个参数是起始时间,第二个是结束时间
*
* 直接script调用
* refreshVideoBtnState - 更新按钮状态,需要一个参数 0:暂停状态 1:播放状态 2:重播状态
* showBar - 显示进度条
* hideBar - 隐藏进度条
* setProgress - 设置进度,参数为0-1之间的一个数字
* setMarkPoints - 设置关键点标记 传入一个数组 [0.2, 0.25, 0.6, 1]
* setStartEndTimeLabel - 设置起始和结束,接受两个字符串类型的参数,如果不传参数或者传了空字符串就不显示标签, 第一个参数是起始时间,第二个是结束时间
*/
// 拖拽按钮起点X
const DragItemSartX = -279.6;
cc.Class({
extends: cc.Component,
start () {
this.init();
this.initVideoBtn();
this.addListener();
this.initdDrag();
},
barBaseW: 0, // 进度条宽度
bgProgress: null, // 进度条背景
bar: null, // 进度条填充
dragBtn: null, // 进度条拖拽按钮
controlBtn: null, // 按钮点击事件挂在这个上面
playBtn: null, // 播放按钮
pauseBtn: null, // 暂停按钮
replayBtn: null, // 重播按钮
posYShow: 0,
posYHide: 0,
properties: {
setTimeoutIDs: [],
setIntervalIDs: [],
videoDuration: 0, // 视频时长
},
init() {
// console.log("Init video control component.")
const canvas = cc.find("Canvas");
this.bgProgress = cc.find('progress', this.node);
this.bar = cc.find('progress/bar', this.node);
this.dragBtn = cc.find('dragButton', this.node);
this.controlBtn = cc.find('controlButton', this.node);
this.playBtn = cc.find('controlButton/play', this.node);
this.pauseBtn = cc.find('controlButton/pause', this.node);
this.replayBtn = cc.find('controlButton/replay', this.node);
this.playBtn.active = true;
this.pauseBtn.active = false;
this.replayBtn.active = false;
this.videoStatus = 0; // 0:暂停 1:播放中 2:重播
this.barBaseW = this.bgProgress.width;;
const deviceSize = cc.view.getVisibleSize()
this.posYShow = -deviceSize.height / 2 + this.node.height / 2 + 50;
this.posYHide = -deviceSize.height / 2 - this.node.height / 2 - 50;
this.node.x = 0
this.node.y = this.posYShow;
this.setProgress(0);
},
initVideoBtn() {
this.controlBtn.addComponent(cc.Button);
this.controlBtn.on('click', () => {
if (this.videoStatus==null || this.videoStatus ==0) {
this.refreshVideoBtnState(1);
this.node.emit('video_btn_click', true)
} else if (this.videoStatus ==1) {
this.refreshVideoBtnState(0);
this.node.emit('video_btn_click', false)
}
});
},
userDragStart: null,
initdDrag() {
const dragStartX = DragItemSartX;
const maxX = this.bgProgress.width + dragStartX ;
const minX = dragStartX;
this.dragBtn.off(cc.Node.EventType.TOUCH_START);
this.dragBtn.on(cc.Node.EventType.TOUCH_START, (e) => {
this.userDragStart = true;
this.node.emit('on_drag_button', true);
});
this.dragBtn.off(cc.Node.EventType.TOUCH_MOVE);
this.dragBtn.on(cc.Node.EventType.TOUCH_MOVE, (e) => {
const worldPos = e.getLocation();
const localPos = this.dragBtn.parent.convertToNodeSpaceAR(worldPos);
let newX = localPos.x;
newX = Math.min(maxX, Math.max(newX, minX));
this.dragBtn.x = newX;
const percent = Math.abs(newX-dragStartX) / Math.abs(this.bgProgress.width);
this.setProgress(percent * this.videoDuration);
this.node.emit('on_drag_percent', percent)
});
this.dragBtn.off(cc.Node.EventType.TOUCH_END);
this.dragBtn.on(cc.Node.EventType.TOUCH_END, (e) => {
if(this.userDragStart) {
this.userDragStart = false;
this.node.emit('on_drag_button', false);
}
});
this.dragBtn.off(cc.Node.EventType.MOUSE_UP);
this.dragBtn.on(cc.Node.EventType.MOUSE_UP, (e) => {
if(this.userDragStart) {
this.userDragStart = false;
this.node.emit('on_drag_button', false);
}
});
this.dragBtn.off(cc.Node.EventType.TOUCH_CANCEL);
this.dragBtn.on(cc.Node.EventType.TOUCH_CANCEL, (e) => {
if(this.userDragStart) {
this.userDragStart = false;
this.node.emit('on_drag_button', false);
}
});
},
// 0:暂停 1:播放中 2:重播
videoStatus: null,
refreshVideoBtnState(status) {
this.videoStatus = status;
switch(status) {
case 0:
this.playBtn.active = true;
this.pauseBtn.active = false;
this.replayBtn.active = false;
break;
case 1:
this.playBtn.active = false;
this.pauseBtn.active = true;
this.replayBtn.active = false;
break;
case 2:
this.playBtn.active = false;
this.pauseBtn.active = false;
this.replayBtn.active = true;
break;
default:
this.playBtn.active = true;
this.pauseBtn.active = false;
this.replayBtn.active = false;
break;
};
},
addListener() {
this.node.on('video_play_end', () => {
// console.log("video_play_end");
this.refreshVideoBtnState();
})
this.node.on('update_video_progress', (value)=>{
// console.log("update_video_progress");
if(!this.userDragStart) {
this.setProgress(value);
} else {
// console.log("进度条拖动中")
}
})
this.node.on('update_video_status', (status)=>{
// console.log("update_video_status", status);
this.refreshVideoBtnState(status);
})
this.node.on('hide_bar', (withAnimation)=>{
this.hideBar(withAnimation);
})
this.node.on('show_bar', (withAnimation)=>{
this.showBar(withAnimation);
})
this.node.on("set_mark_points", (data)=>{
this.setMarkPoints(data);
})
this.node.on("set_start_end_label", (start, end)=>{
this.setStartEndTimeLabel(start, end);
})
this.node.on("set_duration", (duration)=>{
this.setDuration(duration);
})
this.node.off(cc.Node.EventType.TOUCH_START);
this.node.on(cc.Node.EventType.TOUCH_START, ()=>{
this.node.emit("on_touch_progressbar")
})
this.node.off(cc.Node.EventType.MOUSE_DOWN);
this.node.on(cc.Node.EventType.MOUSE_DOWN, ()=>{
this.node.emit("on_touch_progressbar")
})
},
tweening: null,
// 显示进度条
showBar(withAnimation) {
const widget = this.node.getComponent(cc.Widget);
if(withAnimation) {
// widget.bottom = -100;
// let count = 10;
// let step = 200 / count;
// const _intervalId = setInterval(()=>{
// widget.bottom+=step;
// count--;
// if(count <=0) {
// widget.bottom = 100;
// clearInterval(_intervalId)
// }
// },30)
// this.setIntervalIDs.push(_intervalId);
this.tweening = cc.tween(this.node)
.to(0.1, { y: this.posYShow})
.call(() => {
this.tweening = null;
})
.start();
} else {
this.node.y = this.posYShow;
}
},
// 隐藏进度条
hideBar(withAnimation) {
const widget = this.node.getComponent(cc.Widget);
// console.log(widget)
if(withAnimation) {
// widget.bottom = 100;
// let count = 10;
// let step = 300 / count;
// const _intervalId = setInterval(()=>{
// widget.bottom-=step;
// count--;
// if(count <=0) {
// widget.bottom = -100;
// clearInterval(_intervalId)
// }
// },30)
// this.setIntervalIDs.push(_intervalId);
this.tweening = cc.tween(this.node)
.to(0.1, { y: this.posYHide})
.call(() => {
this.tweening = null;
})
.start();
} else {
widget.bottom = -100;
}
},
setTimeoutID: null,
setProgress(currentDuration) {
const progress = currentDuration / this.videoDuration
const dragStartX = DragItemSartX;
this.setTimeoutID = setTimeout(() => {
const w = this.barBaseW * progress;
this.bar.width = w;
if(!this.userDragStart) {
this.dragBtn.x = dragStartX + w;
}
}, 1);
this.setStartEndTimeLabel(this.getEndTimeLabel(currentDuration), this.getEndTimeLabel(this.videoDuration - currentDuration))
},
// 设置标记点
setMarkPoints(pArr) {
// console.log("set_mark_points")
const markPoint = cc.find("markPoint", this.node);
const markPointsContainer = cc.find("markNode", this.node);
for(let i=0; i<pArr.length; i++) {
const newPoint = cc.instantiate(markPoint);
newPoint.x = DragItemSartX + this.bgProgress.width * pArr[i];
newPoint.active = true;
markPointsContainer.addChild(newPoint);
}
},
// 设置开始和结束标签
setStartEndTimeLabel(start, end) {
const startLabel = cc.find("time_label/start", this.node).getComponent(cc.Label);
const endLabel = cc.find("time_label/end", this.node).getComponent(cc.Label);
if(start != null && start != undefined && startLabel != "") {
startLabel.active = true;
startLabel.string = start;
} else {
startLabel.active = false;
}
if(end != null && end != undefined && endLabel != "") {
endLabel.active = true;
endLabel.string = end;
} else {
endLabel.active = false;
}
},
// 设置音频时长
setDuration(duration) {
this.videoDuration = duration;
this.setStartEndTimeLabel("00:00", this.getEndTimeLabel(duration))
},
//秒数转化为时分秒
getEndTimeLabel(value) {
const numberFixed2 = (num) => {
return num<10?"0"+num:num;
}
var secondTime = parseInt(value);// 秒
var minuteTime = 0;// 分
var hourTime = 0;// 小时
if(secondTime > 60) {//如果秒数大于60,将秒数转换成整数
//获取分钟,除以60取整数,得到整数分钟
minuteTime = parseInt(secondTime / 60);
//获取秒数,秒数取余,得到整数秒数
secondTime = parseInt(secondTime % 60);
//如果分钟大于60,将分钟转换成小时
if(minuteTime > 60) {
//获取小时,获取分钟除以60,得到整数小时
hourTime = parseInt(minuteTime / 60);
//获取小时后取余的分,获取分钟除以60取余的分
minuteTime = parseInt(minuteTime % 60);
}
}
var result = "" + numberFixed2(parseInt(secondTime));
if(minuteTime > 0) {
result = "" + numberFixed2(parseInt(minuteTime)) + ":" + result;
} else {
result = "00:" + result;
}
if(hourTime > 0) {
result = "" + numberFixed2(parseInt(hourTime)) + ":" + result;
}
return result;
},
onDestroy() {
for(let i=0; i<this.setIntervalIDs.length; i++) {
clearInterval(this.setIntervalIDs[i]);
}
clearTimeout(this.setTimeoutID);
}
});
{
"ver": "1.0.8",
"uuid": "b6cd9543-0d28-4cb5-a9a0-65aae0fee661",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "98bc55c6-f5ad-449d-94df-df41b6e6f5ed",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "090bea8b-1ee6-4ddf-a3c5-2cf52146b643",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 789,
"height": 9,
"platformSettings": {},
"subMetas": {
"bg_progress": {
"ver": "1.0.4",
"uuid": "4d6c112d-8b3d-4c32-be3f-b45783e0c6de",
"rawTextureUuid": "090bea8b-1ee6-4ddf-a3c5-2cf52146b643",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 789,
"height": 9,
"rawWidth": 789,
"rawHeight": 9,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d66261d8-7f7d-462f-a04d-f58446c8e536",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 789,
"height": 9,
"platformSettings": {},
"subMetas": {
"bg_progress_fill": {
"ver": "1.0.4",
"uuid": "9ab3d4fd-4a35-42c9-8765-cd10d11cdbdc",
"rawTextureUuid": "d66261d8-7f7d-462f-a04d-f58446c8e536",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 789,
"height": 9,
"rawWidth": 789,
"rawHeight": 9,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 5,
"borderRight": 5,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d5936b8a-3f6c-4b7f-acc4-09ebf221bdf1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 68,
"height": 68,
"platformSettings": {},
"subMetas": {
"btn_drag": {
"ver": "1.0.4",
"uuid": "d589b6f2-f2c0-49b9-ac49-148906639984",
"rawTextureUuid": "d5936b8a-3f6c-4b7f-acc4-09ebf221bdf1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 68,
"height": 68,
"rawWidth": 68,
"rawHeight": 68,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5ea2c60d-ccd2-4a7d-b76b-da4e22c384dd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 157,
"height": 157,
"platformSettings": {},
"subMetas": {
"btn_pause": {
"ver": "1.0.4",
"uuid": "09115af6-4543-42ff-ba71-33c861f0eb9b",
"rawTextureUuid": "5ea2c60d-ccd2-4a7d-b76b-da4e22c384dd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 91,
"height": 91,
"rawWidth": 91,
"rawHeight": 91,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "715dda82-c69c-47b6-9475-96a2581b021b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 91,
"height": 91,
"platformSettings": {},
"subMetas": {
"btn_play": {
"ver": "1.0.4",
"uuid": "215ed382-746a-4e37-9f7b-6ff19c33b914",
"rawTextureUuid": "715dda82-c69c-47b6-9475-96a2581b021b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 91,
"height": 91,
"rawWidth": 91,
"rawHeight": 91,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "caa80193-87d9-41b7-b0a9-eaccfa13b253",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 91,
"height": 91,
"platformSettings": {},
"subMetas": {
"btn_replay": {
"ver": "1.0.4",
"uuid": "74dc7db0-2bad-4bb8-8bbc-f19767669a6f",
"rawTextureUuid": "caa80193-87d9-41b7-b0a9-eaccfa13b253",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 91,
"height": 91,
"rawWidth": 91,
"rawHeight": 91,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "088edbf5-7a2d-4a85-bc93-300a6a0aef30",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 15,
"height": 15,
"platformSettings": {},
"subMetas": {
"icon_key_point": {
"ver": "1.0.4",
"uuid": "1d902da0-5593-4de3-892a-b955ebaeae03",
"rawTextureUuid": "088edbf5-7a2d-4a85-bc93-300a6a0aef30",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 15,
"height": 15,
"rawWidth": 15,
"rawHeight": 15,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -108,25 +108,28 @@
"__id__": 842
},
{
"__id__": 882
"__id__": 879
},
{
"__id__": 885
"__id__": 919
},
{
"__id__": 888
"__id__": 922
},
{
"__id__": 925
}
],
"_active": true,
"_components": [
{
"__id__": 897
"__id__": 934
},
{
"__id__": 898
"__id__": 935
},
{
"__id__": 899
"__id__": 936
}
],
"_prefab": null,
......@@ -31215,24 +31218,1517 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cb+19VYXZDTIrYGUSbZk9j"
"_id": "cb+19VYXZDTIrYGUSbZk9j"
},
{
"__type__": "cc.Node",
"_name": "play",
"_objFlags": 0,
"_parent": {
"__id__": 811
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 813
}
],
"_prefab": {
"__id__": 814
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "22lUJCLtVCc5NcN0zvAlx9"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 812
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e9d9c116-36a2-48d2-bcd3-641bd4ac0f1f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4tjfqUN5EL4f1v/JUDXD5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "ff5GvHey1ACLDG1BmmSD68",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "playing",
"_objFlags": 0,
"_parent": {
"__id__": 811
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 816
}
],
"_prefab": {
"__id__": 817
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "79U+au5bpBS5W078XYx4Ft"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 815
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48559fa2-e139-45de-8b8b-f5ed918cc3fe"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "47XHxYRFFD8YDGRm3j4u8R"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "46eYHuJw1KeZvhWKY58QOO",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 811
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 819
}
],
"_prefab": {
"__id__": 820
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "61gY81MK9Gk5HsNJjT4Adg"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 818
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d23735d3-c943-4753-abb5-0a759b781a00"
},
"_type": 3,
"_sizeMode": 1,
"_fillType": 2,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_fillStart": 0.25,
"_fillRange": 1,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "63Gg98Ta9KKbpHcjpP6JKs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "a0zfH46sBKCJeACJduw+2Z",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 811
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "87NOPoo2pDmYYrqvePrO/q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "c9yanw9qRCFJ0bTQmHzCtE",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Record",
"_objFlags": 0,
"_parent": {
"__id__": 810
},
"_children": [
{
"__id__": 824
},
{
"__id__": 827
},
{
"__id__": 830
},
{
"__id__": 833
}
],
"_active": true,
"_components": [
{
"__id__": 836
}
],
"_prefab": {
"__id__": 837
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
220,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c5N5qHkBNLJqvz5k/nMs11"
},
{
"__type__": "cc.Node",
"_name": "record",
"_objFlags": 0,
"_parent": {
"__id__": 823
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 825
}
],
"_prefab": {
"__id__": 826
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "57VLXTipFE8Y8Xcf7CU5Qv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 824
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3410fed9-2d95-40fc-af60-b25ebfc37d85"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e9Kk/NRw9DKKmUPOfco/AA"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "d2ICaRjWRErLSf5uAddJ2z",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "re-record",
"_objFlags": 0,
"_parent": {
"__id__": 823
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 828
}
],
"_prefab": {
"__id__": 829
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "353u0i2ltKrrqZIWcIy1WE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 827
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0b8cae71-eb54-4607-b454-235b811f7fc6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d572Lct+NPEpCqKvrRt53P"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "cfBUw1LolOYKUpLyq6/EHm",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "recording",
"_objFlags": 0,
"_parent": {
"__id__": 823
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 831
}
],
"_prefab": {
"__id__": 832
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "dfyDE1eSBBooa7AgvxXetb"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 830
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3256f930-889a-4c0a-874b-0169659d724a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5ax0dMNiVC07lvFjXJJlyE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "b4dpDh+VxMvaJaxzJbfbtP",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 823
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 834
}
],
"_prefab": {
"__id__": 835
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cfQ0MsIylG25w7Qwkeb1v4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 833
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d23735d3-c943-4753-abb5-0a759b781a00"
},
"_type": 3,
"_sizeMode": 1,
"_fillType": 2,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_fillStart": 0.25,
"_fillRange": 1,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "64UCH1uApApLgEd6lqyaex"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "dfm9JEt7lIGbjtGBrNYsbz",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 823
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "13NgM4y1dIk6KXZ3haYoqb"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "51Lpfta1hAnqQWZKlDSEYq",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 810
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 680,
"height": 240
},
"_resize": 1,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 200,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "0fIzlUedlHk7o/hGo4mBmU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "e0H4CSjyhIUJ3V0nqWpcQs",
"sync": false
},
{
"__type__": "e1e6aLzJZ1Pa4H77CQpDf7J",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 773
},
"_enabled": true,
"_id": "89IyzHYq1MerZD1f+nEVSs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "VideoControlBar",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 843
},
{
"__id__": 849
},
{
"__id__": 851
},
{
"__id__": 862
},
{
"__id__": 865
},
{
"__id__": 868
}
],
"_active": true,
"_components": [
{
"__id__": 876
},
{
"__id__": 877
}
],
"_prefab": {
"__id__": 878
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 120
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5000,
-600,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "caGdlAHbVGept4xZw2if2t"
},
{
"__type__": "cc.Node",
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 842
},
"_children": [
{
"__id__": 844
}
],
"_active": true,
"_components": [
{
"__id__": 847
}
],
"_prefab": {
"__id__": 848
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 789,
"height": 9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
100,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b0DczOEG9JCp1Avp66xyuD"
},
{
"__type__": "cc.Node",
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 843
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 845
}
],
"_prefab": {
"__id__": 846
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-394.447,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "15gIRjDihPPID0mifhX0G1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 844
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9ab3d4fd-4a35-42c9-8765-cd10d11cdbdc"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cdWmpLkSNLtpzE5jdhnC7g"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 842
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "406wZYop9D2aRpagd7nuiR",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 843
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4d6c112d-8b3d-4c32-be3f-b45783e0c6de"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "265tvH6+NLf5XTdMIUwKHh"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 842
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "480B29nphJA6YED4DUIFgt",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "markNode",
"_objFlags": 0,
"_parent": {
"__id__": 842
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 850
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7ee0U6KrtGR6bC8Vkaqk9u"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 842
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "34twh3ifZIPaYKCWna57S6",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "controlButton",
"_objFlags": 0,
"_parent": {
"__id__": 842
},
"_children": [
{
"__id__": 852
},
{
"__id__": 855
},
{
"__id__": 858
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 861
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 155,
"height": 155
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-354.329,
-5.599,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c1wz+NrxhJo47d6WC9cNzM"
},
{
"__type__": "cc.Node",
"_name": "play",
"_objFlags": 0,
"_parent": {
"__id__": 811
"__id__": 851
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 813
"__id__": 853
}
],
"_prefab": {
"__id__": 814
"__id__": 854
},
"_opacity": 255,
"_color": {
......@@ -31244,8 +32740,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 91,
"height": 91
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31279,14 +32775,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "22lUJCLtVCc5NcN0zvAlx9"
"_id": "29h8G2QmZF2qCdy5yTFy3J"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 812
"__id__": 852
},
"_enabled": true,
"_materials": [
......@@ -31294,10 +32790,10 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e9d9c116-36a2-48d2-bcd3-641bd4ac0f1f"
"__uuid__": "215ed382-746a-4e37-9f7b-6ff19c33b914"
},
"_type": 0,
"_sizeMode": 1,
......@@ -31311,35 +32807,35 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4tjfqUN5EL4f1v/JUDXD5"
"_id": "aethehHaVLAq2YYPvSwKRo"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "ff5GvHey1ACLDG1BmmSD68",
"fileId": "c18o1hS1dJaIENF2MvURFk",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "playing",
"_name": "pause",
"_objFlags": 0,
"_parent": {
"__id__": 811
"__id__": 851
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 816
"__id__": 856
}
],
"_prefab": {
"__id__": 817
"__id__": 857
},
"_opacity": 255,
"_color": {
......@@ -31351,8 +32847,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 91,
"height": 91
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31386,14 +32882,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "79U+au5bpBS5W078XYx4Ft"
"_id": "3d/8NQNNZOeJ5T+T73pB9e"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 815
"__id__": 855
},
"_enabled": true,
"_materials": [
......@@ -31401,10 +32897,10 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48559fa2-e139-45de-8b8b-f5ed918cc3fe"
"__uuid__": "09115af6-4543-42ff-ba71-33c861f0eb9b"
},
"_type": 0,
"_sizeMode": 1,
......@@ -31418,35 +32914,35 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "47XHxYRFFD8YDGRm3j4u8R"
"_id": "99JUSbTbpIX5F2zjYEd/DU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "46eYHuJw1KeZvhWKY58QOO",
"fileId": "0doY5vk+RCELITL8R3G2gk",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "progress",
"_name": "replay",
"_objFlags": 0,
"_parent": {
"__id__": 811
"__id__": 851
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 819
"__id__": 859
}
],
"_prefab": {
"__id__": 820
"__id__": 860
},
"_opacity": 255,
"_color": {
......@@ -31458,8 +32954,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 91,
"height": 91
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31493,14 +32989,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "61gY81MK9Gk5HsNJjT4Adg"
"_id": "d3+0AN+7FESL+Qg6D0wk5z"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 818
"__id__": 858
},
"_enabled": true,
"_materials": [
......@@ -31508,144 +33004,63 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d23735d3-c943-4753-abb5-0a759b781a00"
"__uuid__": "74dc7db0-2bad-4bb8-8bbc-f19767669a6f"
},
"_type": 3,
"_type": 0,
"_sizeMode": 1,
"_fillType": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": 0,
"y": 0
},
"_fillStart": 0.25,
"_fillRange": 1,
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "63Gg98Ta9KKbpHcjpP6JKs"
"_id": "31MuJTc/JGxI2yIYe5G1Bc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "a0zfH46sBKCJeACJduw+2Z",
"fileId": "caR3d+1m9HkaQbf5Mix4vV",
"sync": false
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 811
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "87NOPoo2pDmYYrqvePrO/q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "c9yanw9qRCFJ0bTQmHzCtE",
"fileId": "e6EaEyxpVO14/aMaOTGN39",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Record",
"_name": "dragButton",
"_objFlags": 0,
"_parent": {
"__id__": 810
"__id__": 842
},
"_children": [
{
"__id__": 824
},
{
"__id__": 827
},
{
"__id__": 830
},
{
"__id__": 833
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 836
"__id__": 863
}
],
"_prefab": {
"__id__": 837
"__id__": 864
},
"_opacity": 255,
"_color": {
......@@ -31657,8 +33072,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 68,
"height": 68
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31669,8 +33084,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
220,
0,
-279.604,
-6.62,
0,
0,
0,
......@@ -31692,24 +33107,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c5N5qHkBNLJqvz5k/nMs11"
"_id": "c3qu2nthJN9JrqUm4SxRYB"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 862
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d589b6f2-f2c0-49b9-ac49-148906639984"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8fVYh9lxtP0pS9+G+6cs46"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 842
},
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "305Bnt78BML5iK0PU65G5T",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "record",
"_name": "markPoint",
"_objFlags": 0,
"_parent": {
"__id__": 823
"__id__": 842
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 825
"__id__": 866
}
],
"_prefab": {
"__id__": 826
"__id__": 867
},
"_opacity": 255,
"_color": {
......@@ -31721,8 +33179,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 15,
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31756,14 +33214,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "57VLXTipFE8Y8Xcf7CU5Qv"
"_id": "fdnD0ZMWlODY/EWTo39DSm"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 824
"__id__": 865
},
"_enabled": true,
"_materials": [
......@@ -31771,11 +33229,9 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3410fed9-2d95-40fc-af60-b25ebfc37d85"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
......@@ -31788,35 +33244,38 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e9Kk/NRw9DKKmUPOfco/AA"
"_id": "74GNvD1WBBGL1X/gD9uQHy"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "d2ICaRjWRErLSf5uAddJ2z",
"fileId": "359axb3wRFnpR16d4pl6Xc",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "re-record",
"_name": "time_label",
"_objFlags": 0,
"_parent": {
"__id__": 823
"__id__": 842
},
"_children": [],
"_active": false,
"_components": [
"_children": [
{
"__id__": 828
"__id__": 869
},
{
"__id__": 872
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 829
"__id__": 875
},
"_opacity": 255,
"_color": {
......@@ -31828,8 +33287,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31841,7 +33300,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-40,
0,
0,
0,
......@@ -31863,67 +33322,24 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "353u0i2ltKrrqZIWcIy1WE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 827
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0b8cae71-eb54-4607-b454-235b811f7fc6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d572Lct+NPEpCqKvrRt53P"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "cfBUw1LolOYKUpLyq6/EHm",
"sync": false
"_id": "84pqt8Y/ZLYqXH7RNbX2DY"
},
{
"__type__": "cc.Node",
"_name": "recording",
"_name": "start",
"_objFlags": 0,
"_parent": {
"__id__": 823
"__id__": 868
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 831
"__id__": 870
}
],
"_prefab": {
"__id__": 832
"__id__": 871
},
"_opacity": 255,
"_color": {
......@@ -31935,8 +33351,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 80.08,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -31947,7 +33363,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-277.521,
0,
0,
0,
......@@ -31970,14 +33386,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "dfyDE1eSBBooa7AgvxXetb"
"_id": "38rZVmXoVBlLmwTwkC8WCY"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 830
"__id__": 869
},
"_enabled": true,
"_materials": [
......@@ -31987,50 +33403,51 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3256f930-889a-4c0a-874b-0169659d724a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5ax0dMNiVC07lvFjXJJlyE"
"_string": "00:00",
"_N$string": "00:00",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "31MA+8Oe5NN5rSywqTKp2o"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "b4dpDh+VxMvaJaxzJbfbtP",
"fileId": "ccNtS6tAREr6Sy5ZaTAO9J",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "progress",
"_name": "end",
"_objFlags": 0,
"_parent": {
"__id__": 823
"__id__": 868
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 834
"__id__": 873
}
],
"_prefab": {
"__id__": 835
"__id__": 874
},
"_opacity": 255,
"_color": {
......@@ -32042,8 +33459,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
"width": 80.08,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -32054,7 +33471,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
491.716,
0,
0,
0,
......@@ -32077,14 +33494,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cfQ0MsIylG25w7Qwkeb1v4"
"_id": "43ouO9s9JIPqqMtoqDtarf"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 833
"__id__": 872
},
"_enabled": true,
"_materials": [
......@@ -32094,32 +33511,44 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d23735d3-c943-4753-abb5-0a759b781a00"
"_string": "59:59",
"_N$string": "59:59",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "4dydxG4chJoYImmYTHKLyI"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 842
},
"_type": 3,
"_sizeMode": 1,
"_fillType": 2,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"asset": {
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"_fillStart": 0.25,
"_fillRange": 1,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "64UCH1uApApLgEd6lqyaex"
"fileId": "c84DQy/K9PAYM9A6xIjUsz",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "dfm9JEt7lIGbjtGBrNYsbz",
"fileId": "0fp0R7vBRMBo86syd5lDDT",
"sync": false
},
{
......@@ -32127,7 +33556,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 823
"__id__": 842
},
"_enabled": true,
"_normalMaterial": null,
......@@ -32188,79 +33617,28 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "13NgM4y1dIk6KXZ3haYoqb"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "51Lpfta1hAnqQWZKlDSEYq",
"sync": false
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 810
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 680,
"height": 240
},
"_resize": 1,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 200,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "0fIzlUedlHk7o/hGo4mBmU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
},
"fileId": "e0H4CSjyhIUJ3V0nqWpcQs",
"sync": false
"_id": "9bQuokVcpAbLU4R0Dkb8pC"
},
{
"__type__": "e1e6aLzJZ1Pa4H77CQpDf7J",
"__type__": "b6cd9VDDShMtamgZarg/uZh",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 773
"__id__": 842
},
"_enabled": true,
"_id": "89IyzHYq1MerZD1f+nEVSs"
"setTimeoutIDs": [],
"setIntervalIDs": [],
"videoDuration": 0,
"_id": "77tUa7PmZJj4Im/soWna2z"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 773
"__id__": 842
},
"asset": {
"__uuid__": "1d274f2b-b95d-4e55-9d7a-12bf7dda4370"
"__uuid__": "c02d26a4-e435-4a3f-abcf-72cef3fec835"
},
"fileId": "",
"sync": false
......@@ -32274,13 +33652,13 @@
},
"_children": [
{
"__id__": 843
"__id__": 880
},
{
"__id__": 846
"__id__": 883
},
{
"__id__": 877
"__id__": 914
}
],
"_active": false,
......@@ -32338,11 +33716,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 842
"__id__": 879
},
"_children": [
{
"__id__": 844
"__id__": 881
}
],
"_active": true,
......@@ -32400,13 +33778,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 843
"__id__": 880
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 845
"__id__": 882
}
],
"_prefab": null,
......@@ -32462,7 +33840,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 844
"__id__": 881
},
"_enabled": true,
"_materials": [],
......@@ -32493,53 +33871,53 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 842
"__id__": 879
},
"_children": [
{
"__id__": 847
"__id__": 884
},
{
"__id__": 849
"__id__": 886
},
{
"__id__": 851
"__id__": 888
},
{
"__id__": 853
"__id__": 890
},
{
"__id__": 855
"__id__": 892
},
{
"__id__": 857
"__id__": 894
},
{
"__id__": 859
"__id__": 896
},
{
"__id__": 861
"__id__": 898
},
{
"__id__": 863
"__id__": 900
},
{
"__id__": 865
"__id__": 902
},
{
"__id__": 867
"__id__": 904
},
{
"__id__": 869
"__id__": 906
},
{
"__id__": 871
"__id__": 908
},
{
"__id__": 873
"__id__": 910
},
{
"__id__": 875
"__id__": 912
}
],
"_active": true,
......@@ -32597,13 +33975,13 @@
"_name": "icon_PA_record",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 848
"__id__": 885
}
],
"_prefab": null,
......@@ -32659,7 +34037,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 847
"__id__": 884
},
"_enabled": true,
"_materials": [],
......@@ -32687,13 +34065,13 @@
"_name": "icon_PA_replay",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 850
"__id__": 887
}
],
"_prefab": null,
......@@ -32749,7 +34127,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 849
"__id__": 886
},
"_enabled": true,
"_materials": [],
......@@ -32777,13 +34155,13 @@
"_name": "icon_connect_end",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 852
"__id__": 889
}
],
"_prefab": null,
......@@ -32839,7 +34217,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 851
"__id__": 888
},
"_enabled": true,
"_materials": [],
......@@ -32867,13 +34245,13 @@
"_name": "icon_connect_start",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 854
"__id__": 891
}
],
"_prefab": null,
......@@ -32929,7 +34307,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 853
"__id__": 890
},
"_enabled": true,
"_materials": [],
......@@ -32957,13 +34335,13 @@
"_name": "icon_play_audio",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 856
"__id__": 893
}
],
"_prefab": null,
......@@ -33019,7 +34397,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 855
"__id__": 892
},
"_enabled": true,
"_materials": [],
......@@ -33047,13 +34425,13 @@
"_name": "btn_sound",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 858
"__id__": 895
}
],
"_prefab": null,
......@@ -33109,7 +34487,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 857
"__id__": 894
},
"_enabled": true,
"_materials": [],
......@@ -33137,13 +34515,13 @@
"_name": "btn_submit_disable",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 860
"__id__": 897
}
],
"_prefab": null,
......@@ -33199,7 +34577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 859
"__id__": 896
},
"_enabled": true,
"_materials": [],
......@@ -33227,13 +34605,13 @@
"_name": "icon_answer_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 862
"__id__": 899
}
],
"_prefab": null,
......@@ -33289,7 +34667,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 861
"__id__": 898
},
"_enabled": true,
"_materials": [],
......@@ -33317,13 +34695,13 @@
"_name": "icon_answer_right",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 864
"__id__": 901
}
],
"_prefab": null,
......@@ -33379,7 +34757,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 863
"__id__": 900
},
"_enabled": true,
"_materials": [],
......@@ -33407,13 +34785,13 @@
"_name": "icon_laugh",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 866
"__id__": 903
}
],
"_prefab": null,
......@@ -33469,7 +34847,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 865
"__id__": 902
},
"_enabled": true,
"_materials": [],
......@@ -33497,13 +34875,13 @@
"_name": "icon_cry",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 868
"__id__": 905
}
],
"_prefab": null,
......@@ -33559,7 +34937,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 867
"__id__": 904
},
"_enabled": true,
"_materials": [],
......@@ -33587,13 +34965,13 @@
"_name": "btn_submit",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 870
"__id__": 907
}
],
"_prefab": null,
......@@ -33649,7 +35027,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 869
"__id__": 906
},
"_enabled": true,
"_materials": [],
......@@ -33677,13 +35055,13 @@
"_name": "btn_replay",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 872
"__id__": 909
}
],
"_prefab": null,
......@@ -33739,7 +35117,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 871
"__id__": 908
},
"_enabled": true,
"_materials": [],
......@@ -33767,13 +35145,13 @@
"_name": "icon_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 874
"__id__": 911
}
],
"_prefab": null,
......@@ -33829,7 +35207,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 873
"__id__": 910
},
"_enabled": true,
"_materials": [],
......@@ -33857,13 +35235,13 @@
"_name": "icon_right",
"_objFlags": 0,
"_parent": {
"__id__": 846
"__id__": 883
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 876
"__id__": 913
}
],
"_prefab": null,
......@@ -33919,7 +35297,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 875
"__id__": 912
},
"_enabled": true,
"_materials": [],
......@@ -33947,14 +35325,14 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 842
"__id__": 879
},
"_children": [
{
"__id__": 878
"__id__": 915
},
{
"__id__": 880
"__id__": 917
}
],
"_active": true,
......@@ -34012,13 +35390,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 877
"__id__": 914
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 879
"__id__": 916
}
],
"_prefab": null,
......@@ -34074,7 +35452,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 878
"__id__": 915
},
"_enabled": true,
"_clip": {
......@@ -34093,13 +35471,13 @@
"_name": "finish",
"_objFlags": 0,
"_parent": {
"__id__": 877
"__id__": 914
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 881
"__id__": 918
}
],
"_prefab": null,
......@@ -34155,7 +35533,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 880
"__id__": 917
},
"_enabled": true,
"_clip": {
......@@ -34180,10 +35558,10 @@
"_active": false,
"_components": [
{
"__id__": 883
"__id__": 920
},
{
"__id__": 884
"__id__": 921
}
],
"_prefab": null,
......@@ -34239,7 +35617,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 882
"__id__": 919
},
"_enabled": true,
"_defaultClip": {
......@@ -34258,7 +35636,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 882
"__id__": 919
},
"_enabled": true,
"_materials": [
......@@ -34296,10 +35674,10 @@
"_active": false,
"_components": [
{
"__id__": 886
"__id__": 923
},
{
"__id__": 887
"__id__": 924
}
],
"_prefab": null,
......@@ -34355,7 +35733,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 885
"__id__": 922
},
"_enabled": true,
"_defaultClip": {
......@@ -34374,7 +35752,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 885
"__id__": 922
},
"_enabled": true,
"_materials": [
......@@ -34410,16 +35788,16 @@
},
"_children": [
{
"__id__": 889
"__id__": 926
},
{
"__id__": 892
"__id__": 929
}
],
"_active": false,
"_components": [
{
"__id__": 896
"__id__": 933
}
],
"_prefab": null,
......@@ -34475,16 +35853,16 @@
"_name": "videoPlayer",
"_objFlags": 0,
"_parent": {
"__id__": 888
"__id__": 925
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 890
"__id__": 927
},
{
"__id__": 891
"__id__": 928
}
],
"_prefab": null,
......@@ -34540,7 +35918,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 889
"__id__": 926
},
"_enabled": true,
"_resourceType": 0,
......@@ -34560,7 +35938,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 889
"__id__": 926
},
"_enabled": true,
"alignMode": 1,
......@@ -34587,19 +35965,19 @@
"_name": "close",
"_objFlags": 0,
"_parent": {
"__id__": 888
"__id__": 925
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 893
"__id__": 930
},
{
"__id__": 894
"__id__": 931
},
{
"__id__": 895
"__id__": 932
}
],
"_prefab": null,
......@@ -34613,8 +35991,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 50.4
"width": 61,
"height": 61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -34650,55 +36028,22 @@
"groupIndex": 0,
"_id": "e3k1QOkmBC87ZGFEpoU8p8"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 892
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "关闭",
"_N$string": "关闭",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "dcRsgxqcZKIJnn4nUYmfXm"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 892
"__id__": 929
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 888
"__id__": 925
},
"_alignFlags": 33,
"_left": 0,
"_right": 60,
"_top": 100,
"_right": 69.5,
"_top": 94.7,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
......@@ -34717,7 +36062,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 892
"__id__": 929
},
"_enabled": true,
"_normalMaterial": null,
......@@ -34780,12 +36125,40 @@
"_N$target": null,
"_id": "972IsZyLFIrLwErhKcIzzN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 929
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "03b2015f-82e8-497f-a89f-ab015cfa6720"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5duDqJBP1H37kIFEHKCdrR"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 888
"__id__": 925
},
"_enabled": true,
"alignMode": 1,
......@@ -34869,14 +36242,17 @@
"__id__": 117
},
"aniSpeaker": {
"__id__": 882
"__id__": 919
},
"aniVideoTips": {
"__id__": 885
"__id__": 922
},
"pronunciationAssessmentModal": {
"__id__": 773
},
"videoControlBar": {
"__id__": 842
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
]
\ No newline at end of file
......@@ -4,7 +4,8 @@ import {
loadImageByUrl,
asyncLoadRemote,
getSprNode,
playLocalAudio
playLocalAudio,
asyncGetVideoDuration
} from "../script/util_DG_FAF";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_DG_FAF";
import { getUUID } from "../script/util_DG_FAF";
......@@ -64,6 +65,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
@property({type: cc.Node, displayName: "语音评测"})
pronunciationAssessmentModal: cc.Node = null;
@property({type: cc.Node, displayName: "视频进度控制条"})
videoControlBar: cc.Node = null;
addPreloadImage() {
// TODO 根据自己的配置预加载图片资源
if(this.data.bgItem.url) {
......@@ -384,6 +388,57 @@ export default class SceneComponent extends MyCocosSceneComponent {
closeBtn.on("click", ()=>{
this.hideVideoLayer();
})
// 隐藏视频控制组件
this.videoControlBar.emit("hide_bar", true);
// 监听组件发来的拖动开始和结束消息
this.videoControlBar.on("on_drag_button", (isDragStart)=>{
// if(isDragStart) {
// this.hideWaitingVideo();
// this.isDragProgressBar = true;
// this.video.pause();
// this.videoControlBar.emit("update_video_status", 0);
// this.cleanProgressBarTimer();
// } else {
// this.restQuesData(this.video.currentTime);
// this.isDragProgressBar = false;
// this.video.play();
// this.videoControlBar.emit("update_video_status", 1);
// this.setProgressBarTimer();
// }
})
// 监听组件发来的拖动百分比
this.videoControlBar.on("on_drag_percent", (percent)=>{
this.currentVideoPlay.currentTime = percent * this.videoDuration;
// this.showProgressBar();
})
// 监听组件发来视频播放、暂停事件
this.videoControlBar.on("video_btn_click", (isPlay)=>{
if(isPlay) {
this.currentVideoPlay.play();
} else {
this.currentVideoPlay.pause();
}
// this.cleanProgressBarTimer();
// this.setProgressBarTimer();
// if(isPlay) {
// if(this.isWaitingUserAction) {
// this.hideWaitingVideo();
// this.restQuesData(this.video.currentTime);
// }
// this.video.play();
// } else {
// this.video.pause();
// }
})
this.videoControlBar.on("on_touch_progressbar", (e)=>{
// console.log("Click bar")
// this.showProgressBar();
})
}
scoreShowContainer = null;
......@@ -2456,6 +2511,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
};
// 视频播放题型
currentVideoPlay = null;
videoDuration = 0;
setOneVideoBtn(contentData, hotZoneItemData, debugMode=false) {
const rect = this.newRectNode(hotZoneItemData, layer_4, debugMode);
const aniAudio = cc.instantiate(this.aniVideoTips)
......@@ -2473,11 +2530,22 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
this.showVideoLayer();
const videoplayer = cc.find("Canvas/VideoPlayerContainer/videoPlayer").getComponent(cc.VideoPlayer)
videoplayer.stayOnBottom = true;
videoplayer.remoteURL = contentData.video_url;
this.videoDuration = await asyncGetVideoDuration(videoplayer);
// 设置进度条的起始和结束标签
this.videoControlBar.emit("set_duration", this.videoDuration)
// 显示视频控制组件
this.videoControlBar.emit("show_bar", true);
this.currentVideoPlay = videoplayer;
videoplayer.play();
this.videoControlBar.emit("update_video_status", 1);
})
};
// 画图题
setDrawingArea(contentData, hotZoneItemData, debugMode=false) {
const rect = this.newRectNode(hotZoneItemData, layer_4, debugMode);
......@@ -3040,6 +3108,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
hideVideoLayer() {
const canvas = cc.find("Canvas");
const hideNodeNames = ["MainContent", "Header", "Footer", "ActionBtnMaskBg", "ActionBtn", "backBtn"];
this.currentVideoPlay.stop();
this.videoControlBar.emit("update_video_status", 0);
this.currentVideoPlay = null;
this.videoDuration = null;
// 隐藏视频控制组件
this.videoControlBar.emit("hide_bar", true);
canvas.children.forEach(nodeItem => {
if(hideNodeNames.indexOf(nodeItem.name) != -1) {
nodeItem.x = this.hideLayerPosSaved[nodeItem.name].x;
......@@ -3560,5 +3636,25 @@ export default class SceneComponent extends MyCocosSceneComponent {
onDestroy() {
cc.audioEngine.stop(this.currentAudioPlay);
}
// update (dt) {},
update() {
// if (this.isDestroy) {
// return;
// }
if(this.currentVideoPlay != null) {
// 更新当前进度条
if(this.videoDuration== null) {
this.videoControlBar.emit("update_video_progress", 0)
} else {
this.videoControlBar.emit("update_video_progress", this.currentVideoPlay.currentTime)
}
}
// 如果没有正在拖动中 检查是否为题目停止
// if(!this.isDragProgressBar) {
// this.updateCheckStop();
// }
}
}
export const defaultData = {"header_image_url":"http://teach.cdn.ireadabc.com/64ef29f4a806e29ecb32fe1db7c98dfb.jpg","footer_image_url":"http://teach.cdn.ireadabc.com/665e4c3e6a80563b4c33dd7bbcd18014.jpg","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/4425cebcf3aa2eba93f8a485358badf5.jpg","rect":{"x":0,"y":612.1666666666665,"width":1550,"height":3771.666666666667}},"hotZoneItemArr":[{"index":0,"itemType":"rect","itemName":"4-2","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":1998.83,"width":618,"height":42}},{"index":1,"itemType":"rect","itemName":"4-3","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2045.55,"width":618,"height":42}},{"index":2,"itemType":"rect","itemName":"4-4","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2092.26,"width":618,"height":42}},{"index":3,"itemType":"rect","itemName":"4-5","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2138.98,"width":618,"height":42}},{"index":4,"itemType":"rect","itemName":"4-6","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2185.69,"width":618,"height":42}},{"index":5,"itemType":"rect","itemName":"4-7","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2232.4,"width":618,"height":42}},{"index":6,"itemType":"rect","itemName":"4-8","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2279.12,"width":618,"height":42}},{"index":7,"itemType":"rect","itemName":"4-9","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2325.83,"width":618,"height":42}},{"index":8,"itemType":"rect","itemName":"test-video","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":262,"y":1844.83,"width":46,"height":46}},{"index":9,"itemType":"rect","itemName":"hutu ","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":120,"y":196.83,"width":1334,"height":388}},{"index":10,"itemType":"rect","itemName":"cs","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":633,"y":1375.83,"width":272,"height":272}}],"hotZoneConfigArr":[{"hotZoneType":"12","linkHotZoneIndex":-1,"audio_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":true,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[{"uuid":"b9480a65-bf53-4fcf-9b27-fb775d2abbe6","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"selectHotZoneIndex":0,"inputText":"1 | 2 | 3","keyWordMatch":true},{"uuid":"c7c9d9f2-2e0a-43a9-8a80-8def23430e66","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"2","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":1},{"uuid":"79a0666e-ae9b-4c58-a4b5-45d30cab4978","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"3","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":2},{"uuid":"1e4f9710-e7bb-458b-a065-22650c688465","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"4","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":3},{"uuid":"a924e16e-2c8b-4495-b743-450683849529","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"5","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":4},{"uuid":"aff3a858-e189-41a9-86a7-de300326ecd1","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"6","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":5},{"uuid":"1f0dc34e-cf88-47d9-9f53-b9609a390900","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"7","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":6},{"uuid":"a4791aec-2bda-486b-a962-46bebd07641d","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":7,"textAlignLeft":true}]},{"hotZoneType":"13","linkHotZoneIndex":8,"audio_url":"","video_url":"http://staging-teach.cdn.ireadabc.com/2ef06de470293f307b60513e1275b27a.mp4","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"14","linkHotZoneIndex":9,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"5","linkHotZoneIndex":10,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"3re","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[],"textAlignLeft":true}],"scoreConfigArr":[{"linkHotZoneIndex":-1,"linkHotZoneIndexArr":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]}],"alignMode":"left","ratingSystem":"4","basicScore":"90"}
\ No newline at end of file
export const defaultData = {"header_image_url":"http://teach.cdn.ireadabc.com/64ef29f4a806e29ecb32fe1db7c98dfb.jpg","footer_image_url":"http://teach.cdn.ireadabc.com/665e4c3e6a80563b4c33dd7bbcd18014.jpg","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/4425cebcf3aa2eba93f8a485358badf5.jpg","rect":{"x":0,"y":612.1666666666665,"width":1550,"height":3771.666666666667}},"hotZoneItemArr":[{"index":0,"itemType":"rect","itemName":"4-2","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":1998.83,"width":618,"height":42}},{"index":1,"itemType":"rect","itemName":"4-3","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2045.55,"width":618,"height":42}},{"index":2,"itemType":"rect","itemName":"4-4","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2092.26,"width":618,"height":42}},{"index":3,"itemType":"rect","itemName":"4-5","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2138.98,"width":618,"height":42}},{"index":4,"itemType":"rect","itemName":"4-6","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2185.69,"width":618,"height":42}},{"index":5,"itemType":"rect","itemName":"4-7","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2232.4,"width":618,"height":42}},{"index":6,"itemType":"rect","itemName":"4-8","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2279.12,"width":618,"height":42}},{"index":7,"itemType":"rect","itemName":"4-9","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2325.83,"width":618,"height":42}},{"index":8,"itemType":"rect","itemName":"test-video","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":262,"y":1844.83,"width":46,"height":46}},{"index":9,"itemType":"rect","itemName":"hutu ","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":120,"y":196.83,"width":1334,"height":388}},{"index":10,"itemType":"rect","itemName":"cs","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":633,"y":1375.83,"width":272,"height":272}}],"hotZoneConfigArr":[{"hotZoneType":"12","linkHotZoneIndex":-1,"audio_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":true,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[{"uuid":"b9480a65-bf53-4fcf-9b27-fb775d2abbe6","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"selectHotZoneIndex":0,"inputText":"1 | 2 | 3","keyWordMatch":true},{"uuid":"c7c9d9f2-2e0a-43a9-8a80-8def23430e66","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"2","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":1},{"uuid":"79a0666e-ae9b-4c58-a4b5-45d30cab4978","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"3","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":2},{"uuid":"1e4f9710-e7bb-458b-a065-22650c688465","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"4","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":3},{"uuid":"a924e16e-2c8b-4495-b743-450683849529","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"5","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":4},{"uuid":"aff3a858-e189-41a9-86a7-de300326ecd1","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"6","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":5},{"uuid":"1f0dc34e-cf88-47d9-9f53-b9609a390900","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"7","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":6},{"uuid":"a4791aec-2bda-486b-a962-46bebd07641d","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":7,"textAlignLeft":true}]},{"hotZoneType":"13","linkHotZoneIndex":8,"audio_url":"","video_url":"http://staging-teach.cdn.ireadabc.com/f45dfab6993e5376a8c4e1dda7da6211.mp4","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"14","linkHotZoneIndex":9,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"5","linkHotZoneIndex":10,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"3re","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[],"textAlignLeft":true}],"scoreConfigArr":[{"linkHotZoneIndex":-1,"linkHotZoneIndexArr":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]}],"alignMode":"left","ratingSystem":"4","basicScore":"90"}
\ No newline at end of file
......@@ -518,6 +518,19 @@ export function getUUID() {
});
}
// 获取视频时长
export function asyncGetVideoDuration(video) {
return new Promise(async (resovle, reject) => {
let dur = null
let maxCount = 0;
do {
dur = video.getDuration();
maxCount ++;
await asyncDelay(0.1)
} while(maxCount <= 200 && (dur == null || isNaN(dur)));
resovle(dur)
})
}
// 获取视频地址
// export function getVideoUrl(callback) {
// const url1 = this.data.video_url;
......
{
"ver": "2.3.5",
"uuid": "6a023e5e-7b5f-4734-8786-76551410aa1c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 100,
"height": 100,
"platformSettings": {},
"subMetas": {
"btn_close_2": {
"ver": "1.0.4",
"uuid": "03b2015f-82e8-497f-a89f-ab015cfa6720",
"rawTextureUuid": "6a023e5e-7b5f-4734-8786-76551410aa1c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -0.5,
"trimX": 20,
"trimY": 20,
"width": 61,
"height": 61,
"rawWidth": 100,
"rawHeight": 100,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ 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