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
|
@@ -6129,14 +6129,16 @@ function ingestPlayerTracking(licenseKey, channel, body) {
|
|
|
6129
6129
|
// src/utils/tracking.ts
|
|
6130
6130
|
var cachedBrowserId = null;
|
|
6131
6131
|
function buildAnalyticsContext(config) {
|
|
6132
|
-
var _config_contentNetwork, _config_channelName, _config_programTitle;
|
|
6132
|
+
var _config_contentNetwork, _config_channelName, _config_programTitle, _config_src;
|
|
6133
6133
|
var context = {};
|
|
6134
6134
|
var contentNetwork = (_config_contentNetwork = config.contentNetwork) === null || _config_contentNetwork === void 0 ? void 0 : _config_contentNetwork.trim();
|
|
6135
6135
|
var contentChannel = (_config_channelName = config.channelName) === null || _config_channelName === void 0 ? void 0 : _config_channelName.trim();
|
|
6136
6136
|
var contentTitle = (_config_programTitle = config.programTitle) === null || _config_programTitle === void 0 ? void 0 : _config_programTitle.trim();
|
|
6137
|
+
var hlsUrl = (_config_src = config.src) === null || _config_src === void 0 ? void 0 : _config_src.trim();
|
|
6137
6138
|
if (contentNetwork) context.contentNetwork = contentNetwork;
|
|
6138
6139
|
if (contentChannel) context.contentChannel = contentChannel;
|
|
6139
6140
|
if (contentTitle) context.contentTitle = contentTitle;
|
|
6141
|
+
if (hlsUrl) context.hlsUrl = hlsUrl;
|
|
6140
6142
|
if (config.debugAdTiming) {
|
|
6141
6143
|
context.debugAdTiming = true;
|
|
6142
6144
|
}
|
|
@@ -6642,6 +6644,8 @@ function sendAdImpressionTracking(_0, _1) {
|
|
|
6642
6644
|
content_channel: context.contentChannel
|
|
6643
6645
|
} : {}, context.contentTitle ? {
|
|
6644
6646
|
content_title: context.contentTitle
|
|
6647
|
+
} : {}, context.hlsUrl ? {
|
|
6648
|
+
hls_url: context.hlsUrl
|
|
6645
6649
|
} : {})
|
|
6646
6650
|
]
|
|
6647
6651
|
})
|