videogular2
Version:
Videogular is a video application framework for desktop and mobile powered by Angular 2.0
21 lines (20 loc) • 671 B
TypeScript
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { VgAPI } from '../core/services/vg-api';
import { IPlayable } from '../core/vg-media/i-playable';
import { Subscription } from 'rxjs/Subscription';
export declare class VgBuffering implements OnInit, OnDestroy {
API: VgAPI;
vgFor: string;
elem: HTMLElement;
target: IPlayable;
checkInterval: number;
currentPlayPos: number;
lastPlayPos: number;
subscriptions: Subscription[];
isBuffering: boolean;
constructor(ref: ElementRef, API: VgAPI);
ngOnInit(): void;
onPlayerReady(): void;
onUpdateBuffer(isBuffering: any): void;
ngOnDestroy(): void;
}