UNPKG

@playkit-js/playkit-js-ui

Version:

[![Build Status](https://github.com/kaltura/playkit-js-ui/actions/workflows/run_canary_full_flow.yaml/badge.svg)](https://github.com/kaltura/playkit-js-ui/actions/workflows/run_canary_full_flow.yaml) [![code style: prettier](https://img.shields.io/badge/c

36 lines (34 loc) 1.08 kB
import {LoggerType} from '../utils/logger'; import {ComponentsConfig} from './components-config'; import {UserTheme} from './user-theme'; import {KPUIComponent} from './ui-component'; import {MediaInfoConfig} from './media-info-config'; export interface UIOptionsObject { targetId: string; debugActions?: boolean; forceTouchUI?: boolean; allowPlayPause?: boolean; allowLivePlayPause?: boolean; showCCButton?: boolean; showAudioDescriptionButton?: boolean; showMediaInfo?: MediaInfoConfig; openMenuFromCCButton?: boolean; openMenuFromAudioDescriptionButton?: boolean; showAudioButton?: boolean; settings?: { showAudioMenu?: boolean; showCaptionsMenu?: boolean; showQualityMenu?: boolean; showSpeedMenu?: boolean; showAdvancedCaptionsMenu?: boolean; showAudioDescriptionMenu?: boolean; }; hoverTimeout?: number; logger?: LoggerType; components?: ComponentsConfig; uiComponents?: Array<KPUIComponent>; translations?: {[langKey: string]: any}; locale?: string; userTheme?: UserTheme; isCopyProtected?: boolean; }