Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 327 Bytes

Usage_3.0.0.md

File metadata and controls

14 lines (10 loc) · 327 Bytes

Usage Release 3.0.0 Documentation

  • In your code
import { Capacitor } from '@capacitor/core';
import { CapacitorVideoPlayer } from 'capacitor-video-player';

export const setVideoPlayer = async (): Promise<any>=> {
  const platform = Capacitor.getPlatform();
  return {plugin:CapacitorVideoPlayer, platform};
};