ng-cw-v12
Version:
Angular UI Component Library
60 lines (59 loc) • 2.38 kB
TypeScript
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import Jessibuca from 'jessibuca-js';
import * as i0 from "@angular/core";
export declare class VideoFlvComponent implements AfterViewInit, OnDestroy, OnChanges {
videoContainer: ElementRef<HTMLInputElement>;
private jessibuca;
playError: boolean;
playTimeout: boolean;
/** 返回Jessibuca */
ncLoaded: EventEmitter<Jessibuca>;
/** 返回播放状态 */
ncPlaying: EventEmitter<boolean>;
/** 视频地址 */
ncUrl: string;
/** 超时 */
ncTimeout: number;
/** 加载中文案 */
ncLoadingText: string;
/** 播放失败文案 */
ncErrorText: string;
/** 播放超时文案 */
ncTimeoutText: string;
/** 静音 */
private _muted;
set ncMuted(value: boolean | string);
get ncMuted(): boolean;
/** 自动播放 */
private _autoplay;
set ncAutoplay(value: boolean | string);
get ncAutoplay(): boolean;
/** 铺满 */
private _fill;
set ncFill(value: boolean | string);
get ncFill(): boolean;
/** 截图 */
private _screenshot;
set ncScreenshot(value: boolean | string);
get ncScreenshot(): boolean;
/** 录屏 */
private _record;
set ncRecord(value: boolean | string);
get ncRecord(): boolean;
/** 网速 */
private _bandwidth;
set ncBandwidth(value: boolean | string);
get ncBandwidth(): boolean;
/** 隐藏控制栏 */
private _controls;
set ncControls(value: boolean | string);
get ncControls(): boolean;
constructor();
ngOnDestroy(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
init(): void;
destroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<VideoFlvComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<VideoFlvComponent, "nc-video-flv", never, { "ncUrl": "ncUrl"; "ncTimeout": "ncTimeout"; "ncLoadingText": "ncLoadingText"; "ncErrorText": "ncErrorText"; "ncTimeoutText": "ncTimeoutText"; "ncMuted": "ncMuted"; "ncAutoplay": "ncAutoplay"; "ncFill": "ncFill"; "ncScreenshot": "ncScreenshot"; "ncRecord": "ncRecord"; "ncBandwidth": "ncBandwidth"; "ncControls": "ncControls"; }, { "ncLoaded": "ncLoaded"; "ncPlaying": "ncPlaying"; }, never, never>;
}