Youtube Video Player

Improve this doc

$ ionic plugin add https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git
$ npm install --save @ionic-native/youtube-video-player

Repo: https://github.com/Glitchbone/CordovaYoutubeVideoPlayer

Plays YouTube videos in Native YouTube App

Supported platforms

Usage

import { YoutubeVideoPlayer } from '@ionic-native/youtube-video-player';

constructor(private youtube: YoutubeVideoPlayer) { }

...


this.youtube.openVideo('myvideoid');

Instance Members

openVideo(videoId)

Plays a YouTube video

Param Type Details
videoId string

Video ID

API

Native

General