UNPKG

423 BTypeScriptView Raw
1/**
2 * @name YoutubeVideoPlayer
3 * @description
4 * Plays YouTube videos in Native YouTube App
5 *
6 * @usage
7 * ```
8 * import {YoutubeVideoPlayer} from 'ionic-native';
9 *
10 * YoutubeVideoPlayer.openVideo('myvideoid');
11 *
12 * ```
13 */
14export declare class YoutubeVideoPlayer {
15 /**
16 * Plays a YouTube video
17 * @param videoId {string} Video ID
18 */
19 static openVideo(videoId: string): void;
20}