@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
23 lines (22 loc) • 1.06 kB
TypeScript
import { PlayerConfig } from './playerInterfaces';
import { UtilService } from './services/util.service';
import * as i0 from "@angular/core";
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, uniqueVisitedLength: 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;
static ɵfac: i0.ɵɵFactoryDeclaration<SunbirdVideoPlayerService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SunbirdVideoPlayerService>;
}