Skip to main content

Player Visibility

These events are helpful to know what's visible on the Speechify API to change your UI accordingly.

Widget Shown

Event name: widget-shown. This event is fired when the widget is shown, including on load if the widget is set to show on load.

Widget Hidden

Event name: widget-hidden. This event is fired when the widget is shown, including on load if the widget is set to be hidden on load.

Inline Player Shown

Event name: inline-player-shown. This event is fired when the inline player is shown, including on load if the inline player is set to show on load.

Inline Player Hidden

Event name: inline-player-hidden. This event is fired when the inline player is hidden, including on load if the inline player is set to be hidden on load.

Widget Minimized

Event name: widget-minimized. This event is fired when the widget is minimzed, including on load if the widget is set to be minimized on load.

Widget Maximized

Event name: widget-maximized. This event is fired when the widget is maximized, including on load if the widget is set to be maximized on load.