capacitor-video-player
CAPACITOR 5
The ownership of this plugin is transfer to https://github.com/harmonwood who will ensure the maintenance
Note from the Owner
Start -->
I have been dedicated to developing and maintaining this plugin for many years since the inception of Ionic Capacitor. Now, at 73+ years old, and with my MacBook Pro becoming obsolete for running Capacitor 6 for iOS, I have made the decision to cease maintenance of the plugin. If anyone wishes to take ownership of this plugin, they are welcome to do so.
It has been a great honor to be part of this development journey alongside the developer community. I am grateful to see many of you following me on this path and incorporating the plugin into your applications. Your comments and suggestions have motivated me to continuously improve it.
I have made this decision due to several family-related troubles that require my full attention and time. Therefore, I will not be stepping back. Thank you to all of you for your support.
End <--
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
Maintainer | GitHub | Social |
---|---|---|
Quéau Jean Pierre | jepiqueau |
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.
npm install --save capacitor-video-player
npx cap sync
npx cap sync @capacitor-community/electron
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
No configuration required for this plugin
Name | Android | iOS | Electron | Web |
---|---|---|---|---|
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 | ✅ | ❌ | ❌ | ❌ |
Name | Android | iOS | Electron | Web |
---|---|---|---|---|
jeepCapVideoPlayerReady | ✅ | ✅ | ✅ | ✅ |
jeepCapVideoPlayerPlay | ✅ | ✅ | ✅ | ✅ |
jeepCapVideoPlayerPause | ✅ | ✅ | ✅ | ✅ |
jeepCapVideoPlayerEnded | ✅ | ✅ | ✅ | ✅ |
jeepCapVideoPlayerExit | ✅ | ✅ | ✅ | ✅ |
- hls.js for HLS videos on Web and Electron platforms
- ExoPlayer for HLS, DASH, SmoothStreaming videos on Android platform
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!