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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rx-player",
3
3
  "author": "Canal+",
4
- "version": "3.30.0-dev.2023030200",
4
+ "version": "3.30.0",
5
5
  "description": "Canal+ HTML5 Video Player",
6
6
  "main": "./dist/rx-player.js",
7
7
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  sonar.projectKey=rx-player
2
2
  sonar.organization=rx-player
3
3
  sonar.projectName=rx-player
4
- sonar.projectVersion=3.30.0-dev.2023030200
4
+ sonar.projectVersion=3.30.0
5
5
  sonar.sources=./src,./demo,./tests
6
6
  sonar.exclusions=demo/full/bundle.js,demo/standalone/lib.js,demo/bundle.js
7
7
  sonar.host.url=https://sonarcloud.io
@@ -364,7 +364,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
364
364
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
365
365
  videoElement.preload = "auto";
366
366
 
367
- this.version = /* PLAYER_VERSION */"3.30.0-dev.2023030200";
367
+ this.version = /* PLAYER_VERSION */"3.30.0";
368
368
  this.log = log;
369
369
  this.state = "STOPPED";
370
370
  this.videoElement = videoElement;
@@ -2985,7 +2985,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
2985
2985
  return mediaElementTrackChoiceManager;
2986
2986
  }
2987
2987
  }
2988
- Player.version = /* PLAYER_VERSION */"3.30.0-dev.2023030200";
2988
+ Player.version = /* PLAYER_VERSION */"3.30.0";
2989
2989
 
2990
2990
  /** Every events sent by the RxPlayer's public API. */
2991
2991
  interface IPublicAPIEvent {
@@ -209,7 +209,7 @@ function setMediaSourceDuration(
209
209
  if (maxBufferedEnd < mediaSource.duration) {
210
210
  try {
211
211
  log.info("Init: Updating duration to what is currently buffered", maxBufferedEnd);
212
- mediaSource.duration = newDuration;
212
+ mediaSource.duration = maxBufferedEnd;
213
213
  } catch (err) {
214
214
  log.warn("Duration Updater: Can't update duration on the MediaSource.",
215
215
  err instanceof Error ? err : "");