rx-player 3.30.0-dev.2023030200 → 3.30.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## v3.30.0-dev.2023030200
3
+ ## v3.30.0 (2023-03-07)
4
4
 
5
5
  ### Features
6
6
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.30.0-dev.2023030200
1
+ 3.30.0
@@ -89,7 +89,7 @@ var Player = /** @class */ (function (_super) {
89
89
  // Workaround to support Firefox autoplay on FF 42.
90
90
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
91
91
  videoElement.preload = "auto";
92
- _this.version = /* PLAYER_VERSION */ "3.30.0-dev.2023030200";
92
+ _this.version = /* PLAYER_VERSION */ "3.30.0";
93
93
  _this.log = log;
94
94
  _this.state = "STOPPED";
95
95
  _this.videoElement = videoElement;
@@ -2339,5 +2339,5 @@ var Player = /** @class */ (function (_super) {
2339
2339
  };
2340
2340
  return Player;
2341
2341
  }(EventEmitter));
2342
- Player.version = /* PLAYER_VERSION */ "3.30.0-dev.2023030200";
2342
+ Player.version = /* PLAYER_VERSION */ "3.30.0";
2343
2343
  export default Player;
@@ -153,7 +153,7 @@ function setMediaSourceDuration(mediaSource, manifest, knownDuration) {
153
153
  if (maxBufferedEnd < mediaSource.duration) {
154
154
  try {
155
155
  log.info("Init: Updating duration to what is currently buffered", maxBufferedEnd);
156
- mediaSource.duration = newDuration;
156
+ mediaSource.duration = maxBufferedEnd;
157
157
  }
158
158
  catch (err) {
159
159
  log.warn("Duration Updater: Can't update duration on the MediaSource.", err instanceof Error ? err : "");
package/dist/rx-player.js CHANGED
@@ -48636,7 +48636,7 @@ function setMediaSourceDuration(mediaSource, manifest, knownDuration) {
48636
48636
  if (maxBufferedEnd < mediaSource.duration) {
48637
48637
  try {
48638
48638
  log/* default.info */.Z.info("Init: Updating duration to what is currently buffered", maxBufferedEnd);
48639
- mediaSource.duration = newDuration;
48639
+ mediaSource.duration = maxBufferedEnd;
48640
48640
  } catch (err) {
48641
48641
  log/* default.warn */.Z.warn("Duration Updater: Can't update duration on the MediaSource.", err instanceof Error ? err : "");
48642
48642
  return "failed" /* MediaSourceDurationUpdateStatus.Failed */;
@@ -52017,7 +52017,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
52017
52017
  // Workaround to support Firefox autoplay on FF 42.
52018
52018
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
52019
52019
  videoElement.preload = "auto";
52020
- _this.version = /* PLAYER_VERSION */"3.30.0-dev.2023030200";
52020
+ _this.version = /* PLAYER_VERSION */"3.30.0";
52021
52021
  _this.log = log/* default */.Z;
52022
52022
  _this.state = "STOPPED";
52023
52023
  _this.videoElement = videoElement;
@@ -54332,7 +54332,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
54332
54332
  }]);
54333
54333
  return Player;
54334
54334
  }(event_emitter/* default */.Z);
54335
- Player.version = /* PLAYER_VERSION */"3.30.0-dev.2023030200";
54335
+ Player.version = /* PLAYER_VERSION */"3.30.0";
54336
54336
  /* harmony default export */ var public_api = (Player);
54337
54337
  ;// CONCATENATED MODULE: ./src/core/api/index.ts
54338
54338
  /**