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