@byteplus/veplayer 2.8.0-rc.1 → 2.8.0-rc.3

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.
@@ -14295,7 +14295,7 @@ var __publicField = (obj, key, value) => {
14295
14295
  * @brief Retrieve the player SDK version number.
14296
14296
  */
14297
14297
  get playerVersion() {
14298
- return "2.8.0-rc.1";
14298
+ return "2.8.0-rc.3";
14299
14299
  }
14300
14300
  /** {zh}
14301
14301
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。
@@ -14570,7 +14570,7 @@ var __publicField = (obj, key, value) => {
14570
14570
  }
14571
14571
  }
14572
14572
  /** {zh}
14573
- * @brief 调用此方法开始播放 。
14573
+ * @brief 调用此方法开始播放。
14574
14574
  */
14575
14575
  /** {en}
14576
14576
  * @brief Starts playback.
@@ -14854,7 +14854,7 @@ var __publicField = (obj, key, value) => {
14854
14854
  return transform(event, callback);
14855
14855
  }
14856
14856
  async _switch(targetDefinition) {
14857
- var _a, _b, _c, _d, _e, _f;
14857
+ var _a, _b, _c, _d, _e, _f, _g, _h;
14858
14858
  const preDefinition = clonedeep(this._sourceManager.definition);
14859
14859
  const isPaused = this._player.paused && !this._player.isError;
14860
14860
  const {
@@ -14867,9 +14867,9 @@ var __publicField = (obj, key, value) => {
14867
14867
  targetDefinition.url = options == null ? void 0 : options.url;
14868
14868
  }
14869
14869
  this._sourceManager.switch(targetDefinition);
14870
- (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.sources.renderItemList();
14871
- (_d = (_c = this._player) == null ? void 0 : _c.plugins) == null ? void 0 : _d.definition.renderItemList();
14872
- const isSourceSwitching = ((_e = targetDefinition == null ? void 0 : targetDefinition.source) == null ? void 0 : _e.name) !== ((_f = preDefinition == null ? void 0 : preDefinition.source) == null ? void 0 : _f.name);
14870
+ (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.sources) == null ? void 0 : _c.renderItemList();
14871
+ (_f = (_e = (_d = this._player) == null ? void 0 : _d.plugins) == null ? void 0 : _e.definition) == null ? void 0 : _f.renderItemList();
14872
+ const isSourceSwitching = ((_g = targetDefinition == null ? void 0 : targetDefinition.source) == null ? void 0 : _g.name) !== ((_h = preDefinition == null ? void 0 : preDefinition.source) == null ? void 0 : _h.name);
14873
14873
  this._player.config.url = targetDefinition.url;
14874
14874
  if (isSameProtocol) {
14875
14875
  if (isSourceSwitching) {