This plugin will be used as a tutorial on how to create custom Capacitor plugins for native applications
npm install capacitor-plugin-video-demo
npx cap sync
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
playVideo(video: string) => Promise<void>
Param | Type |
---|---|
video |
string |