An example of adding video player to Compose multiplatform ios, android and desktop
Compose Multiplatform Video player
Featured in Kotlin weekly and Kotlin weeekly
This example demonstrates how you can use video player in your compose multiplatform app:
- Android
- iOS
- Desktop
Troubleshooting
MacOS on Apple Chip (M1/M2)
If you encounter the error ‘pod install’ command failed with code 1. run the following commands in the terminal:
sudo softwareupdate --install-rosetta --agree-to-license
sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc