rx-player 3.28.0-dev.2022071100 → 3.28.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.28.0-dev.2022071100",
4
+ "version": "3.28.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.28.0-dev.2022071100
4
+ sonar.projectVersion=3.28.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
@@ -102,7 +102,7 @@ function createAudioTracks(
102
102
  const track = { language: audioTrack.language,
103
103
  id,
104
104
  normalized: normalizeLanguage(audioTrack.language),
105
- audioDescription: false,
105
+ audioDescription: audioTrack.kind === "descriptions",
106
106
  representations: [] as Representation[] };
107
107
  newAudioTracks.push({ track,
108
108
  nativeTrack: audioTrack });
@@ -432,7 +432,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
432
432
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
433
433
  videoElement.preload = "auto";
434
434
 
435
- this.version = /* PLAYER_VERSION */"3.28.0-dev.2022071100";
435
+ this.version = /* PLAYER_VERSION */"3.28.0";
436
436
  this.log = log;
437
437
  this.state = "STOPPED";
438
438
  this.videoElement = videoElement;
@@ -2943,7 +2943,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
2943
2943
  return activeRepresentations[currentPeriod.id];
2944
2944
  }
2945
2945
  }
2946
- Player.version = /* PLAYER_VERSION */"3.28.0-dev.2022071100";
2946
+ Player.version = /* PLAYER_VERSION */"3.28.0";
2947
2947
 
2948
2948
  /** Every events sent by the RxPlayer's public API. */
2949
2949
  interface IPublicAPIEvent {