Socket
Socket
Sign inDemoInstall

@bazuka5801/capacitor-video-player

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bazuka5801/capacitor-video-player

custom Native Capacitor plugin to play a video


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source


Video Player

capacitor-video-player


CAPACITOR 5


Capacitor Video Player Plugin is a custom Native Capacitor plugin to play a video
fullscreen on IOS, Android, Web and Electron platforms
embedded on Web and Electron platforms


Maintainers

MaintainerGitHubSocial
Quéau Jean Pierrejepiqueau

LATEST FOR CAPACITOR 5 (Master)

Browser Support

The plugin follows the guidelines from the Capacitor Team,

meaning that it will not work in IE11 without additional JavaScript transformations, e.g. with Babel.

Installation

npm install --save capacitor-video-player
npx cap sync
npx cap sync @capacitor-community/electron

Build

Then build YOUR_APPLICATION

npm run build
npx cap copy
npx cap copy web
npx cap copy @capacitor-community/electron
npx cap open android
npx cap open ios
npx cap open @capacitor-community/electron
npx cap serve

Configuration

No configuration required for this plugin

Supported methods

NameAndroidiOSElectronWeb
initPlayer (mode fullscreen)
initPlayer (mode embedded)
initPlayer (url assets)
initPlayer (url internal)
initPlayer (url application/files)
initPlayer (subtitles)
initPlayer (headers)
initPlayer (title)
initPlayer (smallTitle)
initPlayer (accentColor)
initPlayer (chromecast)
initPlayer (artwork)
isPlaying
play
pause
getCurrentTime
setCurrentTime
getDuration
getMuted
setMuted
getVolume
setVolume
stopAllPlayers
getRate
setRate
showController
isControllerIsFullyVisible
exitPlayer

Supported listeners

NameAndroidiOSElectronWeb
jeepCapVideoPlayerReady
jeepCapVideoPlayerPlay
jeepCapVideoPlayerPause
jeepCapVideoPlayerEnded
jeepCapVideoPlayerExit

Documentation

API_Documentation

Applications demonstrating the use of the plugin

Application Starter (Not yet updated to 5.0.0)

Usage 2.4.7

Usage > 3.0.0

Dependencies

  • hls.js for HLS videos on Web and Electron platforms
  • ExoPlayer for HLS, DASH, SmoothStreaming videos on Android platform

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jean Pierre Quéau

💻

Yelhouti

💻

Mamane10

💻

Пронин Андрей KANekT

💻

Michael Rieger

💻

Manuel García Marín

💻

Jelle Oppenhuis

💻

fegauthier

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

FAQs

Last updated on 26 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc