@mottosports/motto-video-player 1.0.1-rc.39 → 1.0.1-rc.40
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/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1192,14 +1192,15 @@ var isChrome64PlusOnMacOrWindows = () => {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
const isMacOS = /Mac OS X|Macintosh/.test(userAgent);
|
|
1194
1194
|
const isWindows = /Windows/.test(userAgent);
|
|
1195
|
-
|
|
1195
|
+
const isAndroid = /Android/.test(userAgent);
|
|
1196
|
+
return isMacOS || isWindows || isAndroid;
|
|
1196
1197
|
};
|
|
1197
1198
|
|
|
1198
1199
|
// src/hooks/useShakaPlayer.ts
|
|
1199
1200
|
var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
|
|
1200
1201
|
|
|
1201
1202
|
// package.json
|
|
1202
|
-
var version = "1.0.1-rc.
|
|
1203
|
+
var version = "1.0.1-rc.40";
|
|
1203
1204
|
|
|
1204
1205
|
// src/utils/licenseCache.ts
|
|
1205
1206
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -1407,6 +1408,10 @@ var useShakaPlayer = ({
|
|
|
1407
1408
|
"com.microsoft.playready": src.drm.playready?.licenseUrl,
|
|
1408
1409
|
"com.apple.fps": src.drm.fairplay?.licenseUrl
|
|
1409
1410
|
},
|
|
1411
|
+
keySystemsMapping: {
|
|
1412
|
+
// Fall back or reroute to the platform’s recommended PlayReady CDM if needed
|
|
1413
|
+
"com.microsoft.playready": "com.microsoft.playready.recommendation"
|
|
1414
|
+
},
|
|
1410
1415
|
...src.drm.fairplay && {
|
|
1411
1416
|
advanced: {
|
|
1412
1417
|
"com.apple.fps": {
|