mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
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:
parent
a5b2e981b3
commit
70c9558d2b
@ -6,6 +6,13 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
* Plays YouTube videos in Native YouTube App
|
||||
*
|
||||
* @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
|
||||
* import { YoutubeVideoPlayer } from '@ionic-native/youtube-video-player';
|
||||
*
|
||||
@ -20,9 +27,9 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
*/
|
||||
@Plugin({
|
||||
pluginName: 'YoutubeVideoPlayer',
|
||||
plugin: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git',
|
||||
plugin: 'https://github.com/JonSmart/CordovaYoutubeVideoPlayer',
|
||||
pluginRef: 'YoutubeVideoPlayer',
|
||||
repo: 'https://github.com/Glitchbone/CordovaYoutubeVideoPlayer',
|
||||
repo: 'https://github.com/JonSmart/CordovaYoutubeVideoPlayer',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
@Injectable()
|
||||
|
Loading…
Reference in New Issue
Block a user