@volcengine/veplayer 2.7.1-rc.1 → 2.7.1-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.
@@ -14286,7 +14286,7 @@ class VePlayerBase {
14286
14286
  * @brief Retrieve the player SDK version number.
14287
14287
  */
14288
14288
  get playerVersion() {
14289
- return "2.7.1-rc.1";
14289
+ return "2.7.1-rc.3";
14290
14290
  }
14291
14291
  /** {zh}
14292
14292
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。
@@ -14561,7 +14561,7 @@ class VePlayerBase {
14561
14561
  }
14562
14562
  }
14563
14563
  /** {zh}
14564
- * @brief 调用此方法开始播放 。
14564
+ * @brief 调用此方法开始播放。
14565
14565
  */
14566
14566
  /** {en}
14567
14567
  * @brief Starts playback.
@@ -14845,7 +14845,7 @@ class VePlayerBase {
14845
14845
  return transform(event, callback);
14846
14846
  }
14847
14847
  async _switch(targetDefinition) {
14848
- var _a, _b, _c, _d, _e, _f;
14848
+ var _a, _b, _c, _d, _e, _f, _g, _h;
14849
14849
  const preDefinition = clonedeep(this._sourceManager.definition);
14850
14850
  const isPaused = this._player.paused && !this._player.isError;
14851
14851
  const {
@@ -14858,9 +14858,9 @@ class VePlayerBase {
14858
14858
  targetDefinition.url = options == null ? void 0 : options.url;
14859
14859
  }
14860
14860
  this._sourceManager.switch(targetDefinition);
14861
- (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.sources.renderItemList();
14862
- (_d = (_c = this._player) == null ? void 0 : _c.plugins) == null ? void 0 : _d.definition.renderItemList();
14863
- 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);
14861
+ (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.sources) == null ? void 0 : _c.renderItemList();
14862
+ (_f = (_e = (_d = this._player) == null ? void 0 : _d.plugins) == null ? void 0 : _e.definition) == null ? void 0 : _f.renderItemList();
14863
+ 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);
14864
14864
  this._player.config.url = targetDefinition.url;
14865
14865
  if (isSameProtocol) {
14866
14866
  if (isSourceSwitching) {