stormcloud-video-player 0.8.78 → 0.8.79
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/StormcloudPlayer.cjs +5 -1
- package/lib/StormcloudPlayer.cjs.map +1 -1
- package/lib/index.cjs +5 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +5 -1
- package/lib/index.js.map +1 -1
- package/lib/player/AdBreakOrchestrator.cjs +5 -1
- package/lib/player/AdBreakOrchestrator.cjs.map +1 -1
- package/lib/player/AdConfigManager.cjs +3 -1
- package/lib/player/AdConfigManager.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +5 -1
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.cjs +5 -1
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/index.cjs +5 -1
- package/lib/players/index.cjs.map +1 -1
- package/lib/types.d.cts +1 -0
- package/lib/ui/StormcloudVideoPlayer.cjs +5 -1
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/utils/tracking.cjs +5 -1
- package/lib/utils/tracking.cjs.map +1 -1
- package/lib/utils/tracking.d.cts +1 -1
- package/package.json +1 -1
|
@@ -1296,14 +1296,16 @@ function ingestPlayerTracking(licenseKey, channel, body) {
|
|
|
1296
1296
|
// src/utils/tracking.ts
|
|
1297
1297
|
var cachedBrowserId = null;
|
|
1298
1298
|
function buildAnalyticsContext(config) {
|
|
1299
|
-
var _config_contentNetwork, _config_channelName, _config_programTitle;
|
|
1299
|
+
var _config_contentNetwork, _config_channelName, _config_programTitle, _config_src;
|
|
1300
1300
|
var context = {};
|
|
1301
1301
|
var contentNetwork = (_config_contentNetwork = config.contentNetwork) === null || _config_contentNetwork === void 0 ? void 0 : _config_contentNetwork.trim();
|
|
1302
1302
|
var contentChannel = (_config_channelName = config.channelName) === null || _config_channelName === void 0 ? void 0 : _config_channelName.trim();
|
|
1303
1303
|
var contentTitle = (_config_programTitle = config.programTitle) === null || _config_programTitle === void 0 ? void 0 : _config_programTitle.trim();
|
|
1304
|
+
var hlsUrl = (_config_src = config.src) === null || _config_src === void 0 ? void 0 : _config_src.trim();
|
|
1304
1305
|
if (contentNetwork) context.contentNetwork = contentNetwork;
|
|
1305
1306
|
if (contentChannel) context.contentChannel = contentChannel;
|
|
1306
1307
|
if (contentTitle) context.contentTitle = contentTitle;
|
|
1308
|
+
if (hlsUrl) context.hlsUrl = hlsUrl;
|
|
1307
1309
|
if (config.debugAdTiming) {
|
|
1308
1310
|
context.debugAdTiming = true;
|
|
1309
1311
|
}
|
|
@@ -1708,6 +1710,8 @@ function sendAdImpressionTracking(_0, _1) {
|
|
|
1708
1710
|
content_channel: context.contentChannel
|
|
1709
1711
|
} : {}, context.contentTitle ? {
|
|
1710
1712
|
content_title: context.contentTitle
|
|
1713
|
+
} : {}, context.hlsUrl ? {
|
|
1714
|
+
hls_url: context.hlsUrl
|
|
1711
1715
|
} : {})
|
|
1712
1716
|
]
|
|
1713
1717
|
})
|