stream-engine-player 0.0.12 → 0.0.14

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.
@@ -43276,7 +43276,7 @@
43276
43276
  default: videojs$1
43277
43277
  }, Symbol.toStringTag, { value: "Module" }));
43278
43278
  const name$1 = "stream-engine-player";
43279
- const version$2 = "0.0.12";
43279
+ const version$2 = "0.0.14";
43280
43280
  const description = "Stream engine player";
43281
43281
  const type$1 = "module";
43282
43282
  const files$1 = [
@@ -58920,9 +58920,9 @@
58920
58920
  var mixpanel_cjs = mixpanel;
58921
58921
  module$2.factory("MixpanelService", [function() {
58922
58922
  const service = {};
58923
- const mixpanelTimescaleProxyDEV = "https://d3ige8rf4hrn8x.cloudfront.net/dev";
58923
+ const mixpanelTimescaleProxy = "https://d3ige8rf4hrn8x.cloudfront.net";
58924
58924
  mixpanel_cjs.init("some_token");
58925
- mixpanel_cjs.init("", { api_host: mixpanelTimescaleProxyDEV }, "proxy");
58925
+ mixpanel_cjs.init("", { api_host: mixpanelTimescaleProxy }, "proxy");
58926
58926
  service.sendProxyEvent = (event2, properties) => {
58927
58927
  try {
58928
58928
  event2 = event2.toLowerCase();
@@ -59230,7 +59230,10 @@
59230
59230
  if (options.muxKey && player.mux) {
59231
59231
  initMux(player, options);
59232
59232
  }
59233
- new PlayerTracker(player, options);
59233
+ this.tracker = new PlayerTracker(player, options);
59234
+ },
59235
+ trackAds: function() {
59236
+ this.tracker.trackAds();
59234
59237
  }
59235
59238
  });
59236
59239
  plugin.pluginName = "analytics";
@@ -66116,7 +66119,7 @@
66116
66119
  player.info = {};
66117
66120
  player.vfhls = {};
66118
66121
  player.transparent = !!scope.options.transparent;
66119
- player.analytics(scope.options.analytics);
66122
+ let analyticsPlugin = player.analytics(scope.options.analytics);
66120
66123
  let imaOptions = {
66121
66124
  adTagUrl: scope.options.adTagUrl,
66122
66125
  adsManagerLoadedCallback
@@ -66509,6 +66512,7 @@
66509
66512
  player.removeClass("vjs-ad-paused");
66510
66513
  }
66511
66514
  );
66515
+ analyticsPlugin.trackAds();
66512
66516
  let isLoop = false;
66513
66517
  player.on("adstart", () => {
66514
66518
  try {