player.pause();
Pauses the player. If the player is already paused, nothing happens.
See also: Player.play(), Player.stop(), Player.isPlaying(), Player.isPaused(), Player.isStopped()