Returns the current player error, or undefined if there is no error. Automatically updates when an error occurs, and resets when a new source is loaded.
undefined
This hook must only be used in a component mounted inside a THEOplayerDefaultUi or UiContainer, or alternatively any other component that provides a PlayerContext.
Returns the current player error, or
undefinedif there is no error. Automatically updates when an error occurs, and resets when a new source is loaded.This hook must only be used in a component mounted inside a THEOplayerDefaultUi or UiContainer, or alternatively any other component that provides a PlayerContext.