static _eventDispatcher(eventName, properties) {
    switch (eventName) {
      case "videostarted":
        this.dispatchEvent("videostarted", {
          videoID: properties.videoID,
          startTime: properties.startTime,
          referringRoute: Router.currentRoute,
          playerType: properties.source
        });
        break;
      case "videoReportQuartile":
        this.dispatchEvent("videoReportQuartile", {
          videoID: properties.videoID,
          quartileValue: properties.quartileValue,
          referringRoute: properties.referringRoute
        });
        break;
      default:
        this.dispatchEvent(eventName, {
          videoID: properties.id
        });
        break;
    }
  }
// change the event args from time to time, and it would be a pain to have to remember to update every single API
change the event args from time to time, and it would be a pain to have to remember to update every single API
change the event args from time to time and it would be a pain to have to remember to update every single API
static _eventDispatcher(eventName, properties) {
    switch (eventName) {
      case "videostarted":
        this.dispatchEvent("videostarted", {
          videoID: properties.videoID,
          startTime: properties.startTime,
          referringRoute: Router.currentRoute,
          playerType: properties.source
        });
        break;
      case "videoReportQuartile":
        this.dispatchEvent("videoReportQuartile", {
          videoID: properties.videoID,
          quartileValue: properties.quartileValue,
          referringRoute: properties.referringRoute
        });
        break;
      default:
        this.dispatchEvent(eventName, {
          videoID: properties.id
        });
        break;
    }
  }
static _eventDispatcher ( eventName , properties ) { switch ( eventName ) { case "videostarted" : this . dispatchEvent ( "videostarted" , { videoID : properties . videoID , startTime : properties . startTime , referringRoute : Router . currentRoute , playerType : properties . source } ) ; break ; case "videoReportQuartile" : this . dispatchEvent ( "videoReportQuartile" , { videoID : properties . videoID , quartileValue : properties . quartileValue , referringRoute : properties . referringRoute } ) ; break ; default : this . dispatchEvent ( eventName , { videoID : properties . id } ) ; break ; } }
change the event args from time to time, and it would be a pain to have to remember to update every single API
change the event args from time to time and it would be a pain to have to remember to update every single API