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

20 lines (19 loc) 864 B
import { PlayerConfig } from './playerInterfaces'; import { UtilService } from './services/util.service'; export declare class SunbirdVideoPlayerService { private utilService; private contentSessionId; private playSessionId; private telemetryObject; private context; config: any; constructor(utilService: UtilService); initialize({ context, config, metadata }: PlayerConfig): void; start(duration: any): void; end(duration: any, totallength: any, currentlength: any, endpageseen: any, totalseekedlength: any, visitedlength: any, score: any): void; interact(id: any, currentPage: any, extraValues?: any): void; heartBeat(data: any): void; impression(currentPage: any, cdata?: any): void; error(errorCode: string, errorType: string, stacktrace?: Error): void; private getEventOptions; }