Component that renders to indicate user when Kaltura player got an error
Prop | Description |
---|---|
errorHead | Valid Preact node |
permanent | Render ErrorOverlay component despite if player got and error or not |
This guide assumes you are using the Kaltura Player
In order to override error-overlay background add backgroundUrl
link to player config
const config = {
...
ui: {
components: {
errorOverlay: {
backgroundUrl: "https://custom-error-overlay-image-url"
}
}
}
...
}
const player = KalturaPlayer.setup(config);
//@flow import { h, ErrorOverlay } from 'playkit-js-ui';
export default function customUIPreset(props: any) {
return (
<ErrorOverlay />
);
}