stream-engine-player 0.0.12 → 0.0.13
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. | 
| 43279 | 
            +
              const version$2 = "0.0.13";
         | 
| 43280 43280 | 
             
              const description = "Stream engine player";
         | 
| 43281 43281 | 
             
              const type$1 = "module";
         | 
| 43282 43282 | 
             
              const files$1 = [
         | 
| @@ -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 {
         |