The player attribute is the media device that the button will control. You can control a media device by connecting this attribute to the self attribute of the player.
For example, if you connect a button's player attribute to the self attribute of a digital audio player then, when the button is clicked, the appropriate action is performed.