ui.beforeclose
Path: rsConf.cb.ui.beforeclose
Default: None
Description: Fires immediately after the user clicks on the close button in the player before any 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: { beforeclose: function() { doSomething(); } } } };