stormcloud-video-player 0.8.74 → 0.8.75
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/stormcloud-vp.min.js +1 -1
- package/lib/Player.d.cts +1 -1
- package/lib/StormcloudPlayer.cjs +2 -1
- package/lib/StormcloudPlayer.cjs.map +1 -1
- package/lib/index.cjs +2 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/player/AdConfigManager.cjs +2 -1
- package/lib/player/AdConfigManager.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +2 -1
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.cjs +2 -1
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/index.cjs +2 -1
- package/lib/players/index.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +2 -1
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/utils/vastMacros.cjs +2 -1
- package/lib/utils/vastMacros.cjs.map +1 -1
- package/package.json +1 -1
package/lib/Player.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ interface PlayerProps extends BaseStormcloudPlayerProps {
|
|
|
11
11
|
}
|
|
12
12
|
declare class Player extends Component<PlayerProps> {
|
|
13
13
|
static displayName: string;
|
|
14
|
-
static defaultProps: Required<Omit<BaseStormcloudPlayerProps, "ctvAdRequest" | keyof React.VideoHTMLAttributes<HTMLVideoElement
|
|
14
|
+
static defaultProps: Required<Omit<BaseStormcloudPlayerProps, "ctvAdRequest" | "onReady" | keyof React.VideoHTMLAttributes<HTMLVideoElement>>>;
|
|
15
15
|
private mounted;
|
|
16
16
|
private isReady;
|
|
17
17
|
private isPlaying;
|
package/lib/StormcloudPlayer.cjs
CHANGED
|
@@ -1395,9 +1395,10 @@ function resolveScvpMacroValues(ctx) {
|
|
|
1395
1395
|
var deviceId = (_ctx_deviceId = ctx.deviceId) === null || _ctx_deviceId === void 0 ? void 0 : _ctx_deviceId.trim();
|
|
1396
1396
|
var deviceIdType = deviceId ? ((_ctx_deviceIdType = ctx.deviceIdType) === null || _ctx_deviceIdType === void 0 ? void 0 : _ctx_deviceIdType.trim()) || inferDeviceIdType() : void 0;
|
|
1397
1397
|
if (deviceId && deviceIdType) {
|
|
1398
|
+
var _toFlag;
|
|
1398
1399
|
set("RDID", deviceId);
|
|
1399
1400
|
set("IDTYPE", deviceIdType);
|
|
1400
|
-
set("IS-LAT", toFlag(ctx.limitAdTracking));
|
|
1401
|
+
set("IS-LAT", (_toFlag = toFlag(ctx.limitAdTracking)) !== null && _toFlag !== void 0 ? _toFlag : "0");
|
|
1401
1402
|
}
|
|
1402
1403
|
set("SID", ctx.sessionId);
|
|
1403
1404
|
set("DTH", ctx.deviceTypeHint);
|