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/index.js
CHANGED
|
@@ -1326,9 +1326,10 @@ function resolveScvpMacroValues(ctx) {
|
|
|
1326
1326
|
var deviceId = (_ctx_deviceId = ctx.deviceId) === null || _ctx_deviceId === void 0 ? void 0 : _ctx_deviceId.trim();
|
|
1327
1327
|
var deviceIdType = deviceId ? ((_ctx_deviceIdType = ctx.deviceIdType) === null || _ctx_deviceIdType === void 0 ? void 0 : _ctx_deviceIdType.trim()) || inferDeviceIdType() : void 0;
|
|
1328
1328
|
if (deviceId && deviceIdType) {
|
|
1329
|
+
var _toFlag;
|
|
1329
1330
|
set("RDID", deviceId);
|
|
1330
1331
|
set("IDTYPE", deviceIdType);
|
|
1331
|
-
set("IS-LAT", toFlag(ctx.limitAdTracking));
|
|
1332
|
+
set("IS-LAT", (_toFlag = toFlag(ctx.limitAdTracking)) !== null && _toFlag !== void 0 ? _toFlag : "0");
|
|
1332
1333
|
}
|
|
1333
1334
|
set("SID", ctx.sessionId);
|
|
1334
1335
|
set("DTH", ctx.deviceTypeHint);
|