@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.mjs
CHANGED
|
@@ -1151,14 +1151,15 @@ var isChrome64PlusOnMacOrWindows = () => {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
const isMacOS = /Mac OS X|Macintosh/.test(userAgent);
|
|
1153
1153
|
const isWindows = /Windows/.test(userAgent);
|
|
1154
|
-
|
|
1154
|
+
const isAndroid = /Android/.test(userAgent);
|
|
1155
|
+
return isMacOS || isWindows || isAndroid;
|
|
1155
1156
|
};
|
|
1156
1157
|
|
|
1157
1158
|
// src/hooks/useShakaPlayer.ts
|
|
1158
1159
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1159
1160
|
|
|
1160
1161
|
// package.json
|
|
1161
|
-
var version = "1.0.1-rc.
|
|
1162
|
+
var version = "1.0.1-rc.40";
|
|
1162
1163
|
|
|
1163
1164
|
// src/utils/licenseCache.ts
|
|
1164
1165
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -1366,6 +1367,10 @@ var useShakaPlayer = ({
|
|
|
1366
1367
|
"com.microsoft.playready": src.drm.playready?.licenseUrl,
|
|
1367
1368
|
"com.apple.fps": src.drm.fairplay?.licenseUrl
|
|
1368
1369
|
},
|
|
1370
|
+
keySystemsMapping: {
|
|
1371
|
+
// Fall back or reroute to the platform’s recommended PlayReady CDM if needed
|
|
1372
|
+
"com.microsoft.playready": "com.microsoft.playready.recommendation"
|
|
1373
|
+
},
|
|
1369
1374
|
...src.drm.fairplay && {
|
|
1370
1375
|
advanced: {
|
|
1371
1376
|
"com.apple.fps": {
|