rx-player 3.29.0-dev.2022091500 → 3.29.0-dev.2022091600

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.29.0-dev.2022091300 (2022-09-15)
3
+ ## v3.29.0-dev.2022091600 (2022-09-16)
4
4
 
5
5
  ### Features
6
6
 
@@ -15,6 +15,7 @@
15
15
  - Compat/Directfile: Fix an issue with LG TV when playing multiple directfile contents with the `stopAtEnd` player option set to `true` [#1154]
16
16
  - Compat: To work around an issue on LG TVs, also specify a request timeout manually through a `setTimeout` call when XMLHttpRequests are created for Manifest and segment requests [#1152]
17
17
  - Compat: Fix issue with Samsung TVs where starting playback on a discontinuity could lead to infinite rebuffering [#1140]
18
+ - Compat: For `"directfile"` contents, also consider `AudioTrack` with a `description` (without an "s") as audio-description audio tracks to work-around what seems to be a Safari typo [#1160]
18
19
  - Better handle valid reverse playback use cases by not skipping gaps when the playback rate has been set to `0` or a negative value [#1138]
19
20
  - DRM: When using persistent licenses, create new MediaKeySession when `load` resolves with `false`, instead of relying the same, to fix issues with such persistent sessions [#1139]
20
21
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.29.0-dev.2022091500
1
+ 3.29.0-dev.2022091600
@@ -87,7 +87,7 @@ var Player = /** @class */ (function (_super) {
87
87
  // Workaround to support Firefox autoplay on FF 42.
88
88
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
89
89
  videoElement.preload = "auto";
90
- _this.version = /* PLAYER_VERSION */ "3.29.0-dev.2022091500";
90
+ _this.version = /* PLAYER_VERSION */ "3.29.0-dev.2022091600";
91
91
  _this.log = log;
92
92
  _this.state = "STOPPED";
93
93
  _this.videoElement = videoElement;
@@ -2294,5 +2294,5 @@ var Player = /** @class */ (function (_super) {
2294
2294
  };
2295
2295
  return Player;
2296
2296
  }(EventEmitter));
2297
- Player.version = /* PLAYER_VERSION */ "3.29.0-dev.2022091500";
2297
+ Player.version = /* PLAYER_VERSION */ "3.29.0-dev.2022091600";
2298
2298
  export default Player;
@@ -69,7 +69,10 @@ function createAudioTracks(audioTracks) {
69
69
  occurences.toString();
70
70
  languagesOccurences[language] = occurences + 1;
71
71
  var track = { language: audioTrack.language, id: id, normalized: normalizeLanguage(audioTrack.language),
72
- audioDescription: audioTrack.kind === "descriptions",
72
+ audioDescription: audioTrack.kind === "descriptions" ||
73
+ // Safari seem to prefer the non-standard singular
74
+ // version, funnily enough
75
+ audioTrack.kind === "description",
73
76
  representations: [] };
74
77
  newAudioTracks.push({ track: track, nativeTrack: audioTrack });
75
78
  }
package/dist/rx-player.js CHANGED
@@ -3598,7 +3598,9 @@ function createAudioTracks(audioTracks) {
3598
3598
  language: audioTrack.language,
3599
3599
  id: id,
3600
3600
  normalized: (0,_utils_languages__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(audioTrack.language),
3601
- audioDescription: audioTrack.kind === "descriptions",
3601
+ audioDescription: audioTrack.kind === "descriptions" || // Safari seem to prefer the non-standard singular
3602
+ // version, funnily enough
3603
+ audioTrack.kind === "description",
3602
3604
  representations: []
3603
3605
  };
3604
3606
  newAudioTracks.push({
@@ -62261,7 +62263,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
62261
62263
  videoElement.preload = "auto";
62262
62264
  _this.version =
62263
62265
  /* PLAYER_VERSION */
62264
- "3.29.0-dev.2022091500";
62266
+ "3.29.0-dev.2022091600";
62265
62267
  _this.log = log/* default */.Z;
62266
62268
  _this.state = "STOPPED";
62267
62269
  _this.videoElement = videoElement;
@@ -65106,7 +65108,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
65106
65108
 
65107
65109
  Player.version =
65108
65110
  /* PLAYER_VERSION */
65109
- "3.29.0-dev.2022091500";
65111
+ "3.29.0-dev.2022091600";
65110
65112
  /* harmony default export */ var public_api = (Player);
65111
65113
  ;// CONCATENATED MODULE: ./src/core/api/index.ts
65112
65114
  /**