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

60 lines (59 loc) 2.33 kB
import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef, AfterViewInit, Renderer2, OnDestroy } from '@angular/core'; import { ErrorService, ISideBarEvent } from '@dicdikshaorg/player-sdk-v9'; import { PlayerConfig } from './playerInterfaces'; import { IAction } from './playerInterfaces'; import { ViewerService } from './services/viewer.service'; import { SunbirdVideoPlayerService } from './sunbird-video-player.service'; export declare class SunbirdVideoPlayerComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges { videoPlayerService: SunbirdVideoPlayerService; viewerService: ViewerService; cdr: ChangeDetectorRef; private renderer2; errorService: ErrorService; playerConfig: PlayerConfig; action?: IAction; playerEvent: EventEmitter<object>; telemetryEvent: EventEmitter<any>; videoPlayerRef: ElementRef; viewState: string; traceId: string; nextContent: any; showContentError: boolean; showControls: boolean; sideMenuConfig: { showShare: boolean; showDownload: boolean; showReplay: boolean; showExit: boolean; }; private unlistenTouchStart; private unlistenMouseMove; isPaused: boolean; showQumlPlayer: boolean; QumlPlayerConfig: any; videoInstance: any; currentInterceptionTime: any; currentInterceptionUIId: any; isFullScreen: boolean; playerAction: IAction; constructor(videoPlayerService: SunbirdVideoPlayerService, viewerService: ViewerService, cdr: ChangeDetectorRef, renderer2: Renderer2, errorService: ErrorService); onTelemetryEvent(event: any): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; raiseInternetDisconnectionError: () => void; ngAfterViewInit(): void; sideBarEvents(event: ISideBarEvent): void; setTelemetryObjectRollup(id: any): void; playContent(event: any): void; replayContent(event: any): void; exitContent(event: any): void; downloadVideo(): void; qumlPlayerEvents(event: any): void; questionSetData({ response, time, identifier }: { response: any; time: any; identifier: any; }): void; playerInstance(event: any): void; ngOnDestroy(): void; }