UNPKG

ionic-native

Version:

Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support

21 lines (20 loc) 423 B
/** * @name YoutubeVideoPlayer * @description * Plays YouTube videos in Native YouTube App * * @usage * ``` * import {YoutubeVideoPlayer} from 'ionic-native'; * * YoutubeVideoPlayer.openVideo('myvideoid'); * * ``` */ export declare class YoutubeVideoPlayer { /** * Plays a YouTube video * @param videoId {string} Video ID */ static openVideo(videoId: string): void; }