Player Visibility
We provide several methods to hide and show the player or widget. Here's a quick list of methods to change player visibility:
showWidget()
— shows the widget.hideWidget()
— hides the widget.showInlinePlayer()
— shows the inline player. Throws an error if configurationinlinePlayerElement
property is not specified.hideInlinePlayer()
— hides the inline player.maximizeWidget()
— maximizes the widget.minimizeWidget()
— minimizes the widget.