rx-player 4.3.0 → 4.3.1-dev.2025040700

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": "4.3.0",
4
+ "version": "4.3.1-dev.2025040700",
5
5
  "description": "Canal+ HTML5 Video Player",
6
6
  "main": "./dist/commonjs/index.js",
7
7
  "module": "./dist/es2017/index.js",
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { isEdgeChromium } from "./browser_detection";
17
+ import { isEdgeChromium, isFirefox } from "./browser_detection";
18
18
 
19
19
  /**
20
20
  * This functions tells if the RxPlayer can trust the browser when it has
@@ -31,11 +31,17 @@ import { isEdgeChromium } from "./browser_detection";
31
31
  * 'generateRequest' on 'MediaKeySession': Failed to create MF PR CdmSession".
32
32
  * In this particular case, the work-around was to consider recommendation.3000 as not supported
33
33
  * and try another keySystem.
34
+ *
35
+ * - On Firefox v.137:
36
+ * Similar issue with requestMediaKeySystemAccess that resolves correctly with
37
+ * 'com.microsoft.playready.recommendation.3000' but fail at the `createMediaKeys``
38
+ * step with error `WMFCDMProxy: Init: WMFCDM init error`
39
+ *
34
40
  * @param keySystem - The key system in use.
35
41
  * @returns {boolean}
36
42
  */
37
43
  export function canRelyOnRequestMediaKeySystemAccess(keySystem: string): boolean {
38
- if (isEdgeChromium && keySystem.indexOf("playready") !== -1) {
44
+ if ((isEdgeChromium || isFirefox) && keySystem.indexOf("playready") !== -1) {
39
45
  return false;
40
46
  }
41
47
  return true;
@@ -408,7 +408,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
408
408
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
409
409
  videoElement.preload = "auto";
410
410
 
411
- this.version = /* PLAYER_VERSION */ "4.3.0";
411
+ this.version = /* PLAYER_VERSION */ "4.3.1-dev.2025040700";
412
412
  this.log = log;
413
413
  this.state = "STOPPED";
414
414
  this.videoElement = videoElement;
@@ -3415,7 +3415,7 @@ class Player extends EventEmitter<IPublicAPIEvent> {
3415
3415
  }
3416
3416
  }
3417
3417
  }
3418
- Player.version = /* PLAYER_VERSION */ "4.3.0";
3418
+ Player.version = /* PLAYER_VERSION */ "4.3.1-dev.2025040700";
3419
3419
 
3420
3420
  /** Every events sent by the RxPlayer's public API. */
3421
3421
  interface IPublicAPIEvent {