UNPKG

dictrigyn-video-player

Version:

Contains Video player library components powered by angular. These components are designed to be used in sunbird consumption platforms *(mobile app, web portal, offline desktop app)* to drive reusability, maintainability hence reducing the redundant devel

78 lines (77 loc) 1.63 kB
export interface Pdata { id: string; pid: string; ver: string; } export interface ContextRollup { l1?: string; l2?: string; l3?: string; l4?: string; } export interface Cdata { type: string; id: string; } export interface ObjectRollup { l1?: string; l2?: string; l3?: string; l4?: string; } export interface Context { mode: string; authToken?: string; sid: string; did: string; uid: string; channel: string; pdata: Pdata; contextRollup: ContextRollup; tags: string[]; cdata?: Cdata[]; timeDiff?: number; objectRollup?: ObjectRollup; host?: string; endpoint?: string; userData?: { firstName: string; lastName: string; }; } export interface Config { toolBar?: { showZoomButtons?: boolean; showPagesButton?: boolean; showPagingButtons?: boolean; showSearchButton?: boolean; showRotateButton?: boolean; }; sideMenu?: { showShare?: boolean; showDownload?: boolean; showReplay?: boolean; showExit?: boolean; }; [propName: string]: any; } export interface PlayerConfig { context: Context; config: Config; metadata: any; data?: any; } export interface Transcript { language: string; identifier: string; artifactUrl: string; languageCode: string; } export interface Transcripts extends Array<Transcript> { } export interface IAction { name: string; props?: { [propName: string]: any; }; }