Skip to main content

Mount & Unmount

These two events can be useful for doing any initial setup and deconstruction when the player is mounted and unmounted, respectively.

Mount​

Event name: mount. This event is fired when the player is mounted, which happens when the SpeechifyWidget.mount() method is called.

Unmount​

Event name: unmount. This event is fired when the player is unmounted, which happens when the SpeechifyWidget.unmount() method is called.