   this.player.muted = true;
  } else {
    this.player.muted = false;
  }

  this.saveVolume = save
  setTimeout(function() {
    self.saveVolume = true
  }, 100)
}

// returns whether player should pause for ad
VideoPlayer.prototype.adOpportunity = function() {
  if (window.STM_PLAYERS) {
    for (var i = 0; i < window.STM_PLAYERS.length; i++) {
      if (typeof window.STM_PLAYERS[i].adOpportunity === 'function') {
        return window.STM_PLAYERS[i].adOpportunity()
      }
    }
  }
  return false
}

Vi