mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -30,17 +30,14 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
plugin: 'cordova-plugin-youtube-video-player',
|
||||
pluginRef: 'YoutubeVideoPlayer',
|
||||
repo: 'https://github.com/ihadeed/CordovaYoutubeVideoPlayer',
|
||||
platforms: ['Android', 'iOS']
|
||||
platforms: ['Android', 'iOS'],
|
||||
})
|
||||
@Injectable()
|
||||
export class YoutubeVideoPlayer extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Plays a YouTube video
|
||||
* @param videoId {string} Video ID
|
||||
*/
|
||||
@Cordova({ sync: true })
|
||||
openVideo(videoId: string): void {
|
||||
}
|
||||
|
||||
openVideo(videoId: string): void {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user