code: function() {
        if (p.currentSession.playerState === 'PLAYING') {
          p.pause();
        } else if (p.currentSession.playerState === 'PAUSED') {
          p.play();
        }
      }
docs: toggle between play / pause