@cc-component/cc-video 1.2.9 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- {
2
- "ver": "1.1.50",
3
- "importer": "prefab",
4
- "imported": true,
5
- "uuid": "5c337353-2e9b-4dc7-9ccc-e30c4414b554",
6
- "files": [
7
- ".json"
8
- ],
9
- "subMetas": {},
10
- "userData": {
11
- "syncNodeName": "VideoComponent"
12
- }
13
- }
1
+ {
2
+ "ver": "1.1.50",
3
+ "importer": "prefab",
4
+ "imported": true,
5
+ "uuid": "0770829a-14b4-4869-82b0-a8522497a1da",
6
+ "files": [
7
+ ".json"
8
+ ],
9
+ "subMetas": {},
10
+ "userData": {
11
+ "syncNodeName": "VideoComponent"
12
+ }
13
+ }
@@ -2,7 +2,7 @@
2
2
  "ver": "4.0.24",
3
3
  "importer": "typescript",
4
4
  "imported": true,
5
- "uuid": "f52ed3a4-99e9-4583-a6e7-642a14237b86",
5
+ "uuid": "c4ac27b3-013a-4de4-b3a0-cf64e6cb6ee2",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -1,9 +1,9 @@
1
- {
2
- "ver": "4.0.24",
3
- "importer": "typescript",
4
- "imported": true,
5
- "uuid": "5a96af9a-5483-417c-a1a7-55b54d6e9562",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }
1
+ {
2
+ "ver": "4.0.24",
3
+ "importer": "typescript",
4
+ "imported": true,
5
+ "uuid": "63f4477c-0505-4061-8923-1d7a3a07ec68",
6
+ "files": [],
7
+ "subMetas": {},
8
+ "userData": {}
9
+ }
@@ -49,7 +49,7 @@ export class VideoManager {
49
49
  cur_name = "";
50
50
  get isLoop() {
51
51
  if (this.paramPlay.isLoop === undefined || this.paramPlay.isLoop === null) {
52
- return true
52
+ return false
53
53
  }
54
54
  return this.paramPlay.isLoop
55
55
  }
@@ -2,7 +2,7 @@
2
2
  "ver": "4.0.24",
3
3
  "importer": "typescript",
4
4
  "imported": true,
5
- "uuid": "a987e3ef-276e-48bf-ac02-62b00f26afc6",
5
+ "uuid": "754f65bd-dc36-4eb0-a9ec-a83e13680920",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -2,7 +2,7 @@
2
2
  "ver": "4.0.24",
3
3
  "importer": "typescript",
4
4
  "imported": true,
5
- "uuid": "4f113e31-c657-4961-b12c-754c5d4bdb56",
5
+ "uuid": "792b64aa-08d4-42a4-80b1-a9d0b406538a",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -2,7 +2,7 @@
2
2
  "ver": "4.0.24",
3
3
  "importer": "typescript",
4
4
  "imported": true,
5
- "uuid": "624a16da-86f2-40dd-b167-a08a6dae88ef",
5
+ "uuid": "ce77aded-fbfb-4fc5-9e8d-93efa207a875",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -145,6 +145,7 @@ export class VideoPlayWX extends BaseVideo {
145
145
  }
146
146
 
147
147
  private videoEnd() {
148
+ //console.error("视频播放完成", this.videoPlayer.loop)
148
149
  // if (!this.isloop) this.node.off(VideoPlayer.EventType.COMPLETED, this.videoEnd, this);
149
150
  this.onVideoEnd?.();
150
151
  }
@@ -2,7 +2,7 @@
2
2
  "ver": "4.0.24",
3
3
  "importer": "typescript",
4
4
  "imported": true,
5
- "uuid": "807ce772-7243-4acf-8c65-f94b5a8ee868",
5
+ "uuid": "e03042f2-4243-44c2-9295-44e49aba5734",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -2,7 +2,7 @@
2
2
  "ver": "4.0.24",
3
3
  "importer": "typescript",
4
4
  "imported": true,
5
- "uuid": "4ab3af68-7ee8-4fb6-9a1a-fcb57d426e3d",
5
+ "uuid": "8986f042-9597-4a69-83ff-14eb8cc50474",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -2,7 +2,7 @@
2
2
  "ver": "1.2.0",
3
3
  "importer": "directory",
4
4
  "imported": true,
5
- "uuid": "c4221e61-65e7-45ad-b33a-ab1ee494586c",
5
+ "uuid": "ae8d8f04-0126-4bad-8116-298835b37b2e",
6
6
  "files": [],
7
7
  "subMetas": {},
8
8
  "userData": {}
@@ -1,9 +1,9 @@
1
- {
2
- "ver": "1.2.0",
3
- "importer": "directory",
4
- "imported": true,
5
- "uuid": "d4b434aa-3614-4ae8-a2fa-4849ad7dd06d",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }
1
+ {
2
+ "ver": "1.2.0",
3
+ "importer": "directory",
4
+ "imported": true,
5
+ "uuid": "3cbea25c-dfc1-45d0-ad43-c19d3e307bd2",
6
+ "files": [],
7
+ "subMetas": {},
8
+ "userData": {}
9
+ }
package/assets/video.meta CHANGED
@@ -1,9 +1,9 @@
1
- {
2
- "ver": "1.2.0",
3
- "importer": "directory",
4
- "imported": true,
5
- "uuid": "3741d2b3-cfcc-4207-8ae0-5ed87dc637e6",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }
1
+ {
2
+ "ver": "1.2.0",
3
+ "importer": "directory",
4
+ "imported": true,
5
+ "uuid": "e4e42467-8a2b-4dc2-9fdc-0cf349ccf04d",
6
+ "files": [],
7
+ "subMetas": {},
8
+ "userData": {}
9
+ }
package/assets.meta CHANGED
@@ -1,9 +1,9 @@
1
- {
2
- "ver": "1.2.0",
3
- "importer": "directory",
4
- "imported": true,
5
- "uuid": "eaf5bea5-6b92-4d35-92ff-dd5a4164e092",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }
1
+ {
2
+ "ver": "1.2.0",
3
+ "importer": "directory",
4
+ "imported": true,
5
+ "uuid": "26f5c181-7f68-4336-b9b0-b03c14f2e67f",
6
+ "files": [],
7
+ "subMetas": {},
8
+ "userData": {}
9
+ }
package/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- // 负责导出assets下的模块,如: export { default } from './assets/xxx.ts'
2
-
3
- export { } from './assets/video/Interface';
1
+ // 负责导出assets下的模块,如: export { default } from './assets/xxx.ts'
2
+
3
+ export { } from './assets/video/Interface';
package/index.ts.meta CHANGED
@@ -1,9 +1,9 @@
1
- {
2
- "ver": "4.0.24",
3
- "importer": "typescript",
4
- "imported": true,
5
- "uuid": "0649bb79-0fd1-45d2-ba6b-56ece4f941f0",
6
- "files": [],
7
- "subMetas": {},
8
- "userData": {}
9
- }
1
+ {
2
+ "ver": "4.0.24",
3
+ "importer": "typescript",
4
+ "imported": true,
5
+ "uuid": "94ad86cd-5c18-4717-9ad2-c9c5331ad2ec",
6
+ "files": [],
7
+ "subMetas": {},
8
+ "userData": {}
9
+ }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "name": "@cc-component/cc-video",
3
- "version": "1.2.9",
4
- "engine": ">=3.8.6",
5
- "description": "系统组件添加常用扩展方法",
6
- "main": "index.ts",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "https://gitee.com/YangFanHome/cc-video"
13
- },
14
- "publishConfig": {
15
- "access": "public",
16
- "registry": "https://registry.npmjs.org"
17
- },
18
- "license": "MIT"
1
+ {
2
+ "name": "@cc-component/cc-video",
3
+ "version": "1.3.1",
4
+ "engine": ">=3.8.6",
5
+ "description": "系统组件添加常用扩展方法",
6
+ "main": "index.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://gitee.com/YangFanHome/cc-video"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public",
16
+ "registry": "https://registry.npmjs.org"
17
+ },
18
+ "license": "MIT"
19
19
  }
package/package.json.meta CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "ver": "2.0.1",
3
- "importer": "json",
4
- "imported": true,
5
- "uuid": "cdfc94f9-bb5a-4211-ab24-e5799614c31a",
6
- "files": [
7
- ".json"
8
- ],
9
- "subMetas": {},
10
- "userData": {}
11
- }
1
+ {
2
+ "ver": "2.0.1",
3
+ "importer": "json",
4
+ "imported": true,
5
+ "uuid": "66c783ea-897e-4707-a1f5-2d9b3bcb8cac",
6
+ "files": [
7
+ ".json"
8
+ ],
9
+ "subMetas": {},
10
+ "userData": {}
11
+ }