ui.close

Path: rsConf.cb.ui.close

Default: None

Description: Fires when the user clicks on the close button in the player and after all native close events have taken place. Note that opening a new player while the previous player is playing does not trigger this event, it only responds to direct user interaction. The this keyword will refer to the container element of the closed player.

Example:

window.rsConf = {
	cb: {
		ui: {
			close: function() {
				doSomething();
			}
		}
	}
};