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/lib/index.cjs CHANGED
@@ -6324,14 +6324,16 @@ function ingestPlayerTracking(licenseKey, channel, body) {
6324
6324
  // src/utils/tracking.ts
6325
6325
  var cachedBrowserId = null;
6326
6326
  function buildAnalyticsContext(config) {
6327
- var _config_contentNetwork, _config_channelName, _config_programTitle;
6327
+ var _config_contentNetwork, _config_channelName, _config_programTitle, _config_src;
6328
6328
  var context = {};
6329
6329
  var contentNetwork = (_config_contentNetwork = config.contentNetwork) === null || _config_contentNetwork === void 0 ? void 0 : _config_contentNetwork.trim();
6330
6330
  var contentChannel = (_config_channelName = config.channelName) === null || _config_channelName === void 0 ? void 0 : _config_channelName.trim();
6331
6331
  var contentTitle = (_config_programTitle = config.programTitle) === null || _config_programTitle === void 0 ? void 0 : _config_programTitle.trim();
6332
+ var hlsUrl = (_config_src = config.src) === null || _config_src === void 0 ? void 0 : _config_src.trim();
6332
6333
  if (contentNetwork) context.contentNetwork = contentNetwork;
6333
6334
  if (contentChannel) context.contentChannel = contentChannel;
6334
6335
  if (contentTitle) context.contentTitle = contentTitle;
6336
+ if (hlsUrl) context.hlsUrl = hlsUrl;
6335
6337
  if (config.debugAdTiming) {
6336
6338
  context.debugAdTiming = true;
6337
6339
  }
@@ -6837,6 +6839,8 @@ function sendAdImpressionTracking(_0, _1) {
6837
6839
  content_channel: context.contentChannel
6838
6840
  } : {}, context.contentTitle ? {
6839
6841
  content_title: context.contentTitle
6842
+ } : {}, context.hlsUrl ? {
6843
+ hls_url: context.hlsUrl
6840
6844
  } : {})
6841
6845
  ]
6842
6846
  })