1.0.0 • Published 2 years ago

capacitor-player v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

capacitor-player

Native Video Player for Capacitor. Play videos from URLs in fullscreen mode.

Install

npm install capacitor-player
npx cap sync

Example

import { Player } from 'capacitor-player';

await Player.play({
    url: 'https://example.com/video.mp4'
});

Support

PlatformSupported?
Android
iOS
Web

API

play(...)

play(options: VideoPlayerOptions) => Promise<void>
ParamType
optionsVideoPlayerOptions

Interfaces

VideoPlayerOptions

PropTypeDescription
urlstringThe url of the video to play