@cc-component/cc-video 1.2.9 → 1.3.0

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.
@@ -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
  }
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-video",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",