@netless/app-slide 0.2.47-alpha.4 → 0.2.47-alpha.5

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.
package/dist/main.es.js CHANGED
@@ -31224,7 +31224,7 @@ void main(void){
31224
31224
  t3.stopPropagation(), this.hide();
31225
31225
  }, this.mediaTimeUpdate = () => r_(this, void 0, void 0, function* () {
31226
31226
  const t3 = this.media.currentTime - this.start;
31227
- if ((this.duration > 0 && Math.abs(t3 - this.duration) < 500 || t3 > this.duration) && (yield this.pauseMedia(), this.medianIsEnd = true, this.jumpToTime(), this.ctx.eventHub.emit(jy.mediaStop, { id: this.targetId }), this.onClickCancelFullScreenButtonHandle()), this.currentTime.innerText = a_.formatTime(t3), this.currentProgress.style.flex = (t3 / this.duration).toString(), this.bookmarkList && this.bookmarkList.length > 0) {
31227
+ if ((this.duration > 0 && Math.abs(t3 - this.duration) < 0.3 || t3 > this.duration) && (yield this.pauseMedia(), this.medianIsEnd = true, this.jumpToTime(), this.ctx.eventHub.emit(jy.mediaStop, { id: this.targetId }), this.onClickCancelFullScreenButtonHandle()), this.currentTime.innerText = a_.formatTime(t3), this.currentProgress.style.flex = (t3 / this.duration).toString(), this.bookmarkList && this.bookmarkList.length > 0) {
31228
31228
  const t4 = this.bookmarkList[this.pickBookmarkIndex];
31229
31229
  t4 && t4.time.toFixed(0) === this.media.currentTime.toFixed(0) && (this.ctx.timingEventHub.emit(`shape ${this.shapeId} onMediaBookmark ${t4.name}`), this.pickBookmarkIndex += 1);
31230
31230
  }
@@ -35970,9 +35970,9 @@ void main(void){
35970
35970
  }
35971
35971
  var pT = { syncDispatch: "syncDispatch", syncReceive: "syncReceive", syncEventLag: "syncEventLag", renderStart: "renderStart", renderEnd: "renderEnd", renderError: "renderError", slideChange: "slideChange", mainSeqStepStart: "mainSeqStepStart", mainSeqStepEnd: "mainSeqStepEnd", animateStart: "animateStart", animateEnd: "animateEnd", stateChange: "stateChange", slideStepEnd: "slideEnd", slideStepStart: "slideStart" }, fT = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, mT = "";
35972
35972
  try {
35973
- mT = "1.1.8-beta.11";
35973
+ mT = "1.1.9-beta.1";
35974
35974
  } catch (t2) {
35975
- mT = "dev";
35975
+ mT = "dev -";
35976
35976
  }
35977
35977
  var gT = null;
35978
35978
  try {
@@ -39092,7 +39092,7 @@ class SlidePreviewer {
39092
39092
  }
39093
39093
  }
39094
39094
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39095
- const version = "0.2.47-alpha.4";
39095
+ const version = "0.2.47-alpha.5";
39096
39096
  const SlideApp = {
39097
39097
  kind: "Slide",
39098
39098
  setup(context) {