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