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.
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 itsconfiguration
property and a valid stream source as itssource
property.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.