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
|
@@ -6082,14 +6082,16 @@ function ingestPlayerTracking(licenseKey, channel, body) {
|
|
|
6082
6082
|
// src/utils/tracking.ts
|
|
6083
6083
|
var cachedBrowserId = null;
|
|
6084
6084
|
function buildAnalyticsContext(config) {
|
|
6085
|
-
var _config_contentNetwork, _config_channelName, _config_programTitle;
|
|
6085
|
+
var _config_contentNetwork, _config_channelName, _config_programTitle, _config_src;
|
|
6086
6086
|
var context = {};
|
|
6087
6087
|
var contentNetwork = (_config_contentNetwork = config.contentNetwork) === null || _config_contentNetwork === void 0 ? void 0 : _config_contentNetwork.trim();
|
|
6088
6088
|
var contentChannel = (_config_channelName = config.channelName) === null || _config_channelName === void 0 ? void 0 : _config_channelName.trim();
|
|
6089
6089
|
var contentTitle = (_config_programTitle = config.programTitle) === null || _config_programTitle === void 0 ? void 0 : _config_programTitle.trim();
|
|
6090
|
+
var hlsUrl = (_config_src = config.src) === null || _config_src === void 0 ? void 0 : _config_src.trim();
|
|
6090
6091
|
if (contentNetwork) context.contentNetwork = contentNetwork;
|
|
6091
6092
|
if (contentChannel) context.contentChannel = contentChannel;
|
|
6092
6093
|
if (contentTitle) context.contentTitle = contentTitle;
|
|
6094
|
+
if (hlsUrl) context.hlsUrl = hlsUrl;
|
|
6093
6095
|
if (config.debugAdTiming) {
|
|
6094
6096
|
context.debugAdTiming = true;
|
|
6095
6097
|
}
|
|
@@ -6595,6 +6597,8 @@ function sendAdImpressionTracking(_0, _1) {
|
|
|
6595
6597
|
content_channel: context.contentChannel
|
|
6596
6598
|
} : {}, context.contentTitle ? {
|
|
6597
6599
|
content_title: context.contentTitle
|
|
6600
|
+
} : {}, context.hlsUrl ? {
|
|
6601
|
+
hls_url: context.hlsUrl
|
|
6598
6602
|
} : {})
|
|
6599
6603
|
]
|
|
6600
6604
|
})
|