docs(youtube-video-player): update repo (#1496)

* refactor(YoutubeVideoPlayer): updated repo

fix #1352

* Update index.ts

* Update index.ts

* Update index.ts
This commit is contained in:
Daniel Sogl 2017-05-09 23:32:47 +02:00 committed by Ibby Hadeed
parent a5b2e981b3
commit 70c9558d2b

View File

@ -6,6 +6,13 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
* Plays YouTube videos in Native YouTube App * Plays YouTube videos in Native YouTube App
* *
* @usage * @usage
* For Android 5.0+ you will need to add the following to config.xml
* ```xml
* <preference name="YouTubeDataApiKey" value="[YOUR YOUTUBE API]" />
* ```
* For more information: https://developers.google.com/youtube/v3/getting-started
*
*
* ```typescript * ```typescript
* import { YoutubeVideoPlayer } from '@ionic-native/youtube-video-player'; * import { YoutubeVideoPlayer } from '@ionic-native/youtube-video-player';
* *
@ -20,9 +27,9 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
*/ */
@Plugin({ @Plugin({
pluginName: 'YoutubeVideoPlayer', pluginName: 'YoutubeVideoPlayer',
plugin: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git', plugin: 'https://github.com/JonSmart/CordovaYoutubeVideoPlayer',
pluginRef: 'YoutubeVideoPlayer', pluginRef: 'YoutubeVideoPlayer',
repo: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer', repo: 'https://github.com/JonSmart/CordovaYoutubeVideoPlayer',
platforms: ['Android', 'iOS'] platforms: ['Android', 'iOS']
}) })
@Injectable() @Injectable()