This default UI provides a great player experience out-of-the-box, that works well on all types of devices
and for all types of streams. It provides all the common playback controls for playing, seeking,
changing languages and qualities. It also supports advertisements and casting.
Usage
Create a <DefaultUI> component, passing a valid player configuration as its configuration property
and a valid stream source as its source property.
A default UI for THEOplayer.
This default UI provides a great player experience out-of-the-box, that works well on all types of devices and for all types of streams. It provides all the common playback controls for playing, seeking, changing languages and qualities. It also supports advertisements and casting.
Usage
<DefaultUI>component, passing a valid player configuration as itsconfigurationproperty and a valid stream source as itssourceproperty.Customization
The styling can be controlled using CSS custom properties (see UIContainer). Additional controls can be added to the DefaultUIProps.topControlBar and DefaultUIProps.bottomControlBar slots. For more extensive customizations, we recommend defining your own custom UI using a UIContainer.
See DefaultUI in @theoplayer/web-ui.