@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.
@@ -14290,7 +14290,7 @@ var __publicField = (obj, key, value) => {
14290
14290
  * @brief Retrieve the player SDK version number.
14291
14291
  */
14292
14292
  get playerVersion() {
14293
- return "2.7.1-rc.1";
14293
+ return "2.7.1-rc.3";
14294
14294
  }
14295
14295
  /** {zh}
14296
14296
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。
@@ -14565,7 +14565,7 @@ var __publicField = (obj, key, value) => {
14565
14565
  }
14566
14566
  }
14567
14567
  /** {zh}
14568
- * @brief 调用此方法开始播放 。
14568
+ * @brief 调用此方法开始播放。
14569
14569
  */
14570
14570
  /** {en}
14571
14571
  * @brief Starts playback.
@@ -14849,7 +14849,7 @@ var __publicField = (obj, key, value) => {
14849
14849
  return transform(event, callback);
14850
14850
  }
14851
14851
  async _switch(targetDefinition) {
14852
- var _a, _b, _c, _d, _e, _f;
14852
+ var _a, _b, _c, _d, _e, _f, _g, _h;
14853
14853
  const preDefinition = clonedeep(this._sourceManager.definition);
14854
14854
  const isPaused = this._player.paused && !this._player.isError;
14855
14855
  const {
@@ -14862,9 +14862,9 @@ var __publicField = (obj, key, value) => {
14862
14862
  targetDefinition.url = options == null ? void 0 : options.url;
14863
14863
  }
14864
14864
  this._sourceManager.switch(targetDefinition);
14865
- (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.sources.renderItemList();
14866
- (_d = (_c = this._player) == null ? void 0 : _c.plugins) == null ? void 0 : _d.definition.renderItemList();
14867
- 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);
14865
+ (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.sources) == null ? void 0 : _c.renderItemList();
14866
+ (_f = (_e = (_d = this._player) == null ? void 0 : _d.plugins) == null ? void 0 : _e.definition) == null ? void 0 : _f.renderItemList();
14867
+ 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);
14868
14868
  this._player.config.url = targetDefinition.url;
14869
14869
  if (isSameProtocol) {
14870
14870
  if (isSourceSwitching) {