Sample media player implementation in flutter. As media player implementation in iOS and android are different, here I tried to implement AVPlayer for iOS and ExoPlayer for android platform by writing platform specific code.
- Play and pause media
- Media controller in status bar and lock screen
Run following commands after cloning this repository:
$ flutter pub get
$ flutter run
Special thanks to Flutter Playout library because most of the native code is taken from here.
- Fork it
- Create your feature branch (git checkout -b new_branch)
- Commit your changes (git commit -m 'New feature')
- Push to the branch (git push origin new_branch)
- Create new Pull Request