UNPKG

@hercilio/ngx-youtube-player

Version:

[![Build Status](https://travis-ci.org/Hernior/ngx-youtube-player.svg?branch=master)](https://travis-ci.org/Hernior/ngx-youtube-player) [![npm version](https://badge.fury.io/js/ngx-youtube-player.svg)](https://badge.fury.io/js/ngx-youtube-player) [![npm d

26 lines 1.48 kB
import { AfterContentInit, ElementRef, EventEmitter, Renderer2 } from '@angular/core'; import { YoutubePlayerService } from './ngx-youtube-player.service'; import * as i0 from "@angular/core"; export declare class YoutubePlayerComponent implements AfterContentInit { playerService: YoutubePlayerService; private elementRef; private renderer; videoId: string; height: number; width: number; /** * @description sets the protocol by the navigator object * if there is no window, it sets a default http protocol * unless the protocol is set from outside */ protocol: string; playerVars: YT.PlayerVars; ready: EventEmitter<YT.Player>; change: EventEmitter<YT.PlayerEvent>; constructor(playerService: YoutubePlayerService, elementRef: ElementRef, renderer: Renderer2); ngAfterContentInit(): void; getProtocol(): string; static ɵfac: i0.ɵɵFactoryDeclaration<YoutubePlayerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<YoutubePlayerComponent, "youtube-player", never, { "videoId": { "alias": "videoId"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "protocol": { "alias": "protocol"; "required": false; }; "playerVars": { "alias": "playerVars"; "required": false; }; }, { "ready": "ready"; "change": "change"; }, never, never, false, never>; } //# sourceMappingURL=ngx-youtube-player.component.d.ts.map