UNPKG

@project-sunbird/sunbird-video-player-v9

Version:

The Video player library is powered by Angular. This player is primarily designed to be used on Sunbird consumption platforms _(mobile app, web portal, offline desktop app)_ to drive reusability and maintainability, hence reducing the redundant developmen

78 lines (77 loc) 1.56 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; }; }