Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.29 KB

File metadata and controls

35 lines (28 loc) · 1.29 KB

Sample Media Player

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.

Features

  • Play and pause media
  • Media controller in status bar and lock screen

How to run

Run following commands after cloning this repository:

$ flutter pub get
$ flutter run

Screens

Motivation

Special thanks to Flutter Playout library because most of the native code is taken from here.

Third party libraries used

Contribution

  1. Fork it
  2. Create your feature branch (git checkout -b new_branch)
  3. Commit your changes (git commit -m 'New feature')
  4. Push to the branch (git push origin new_branch)
  5. Create new Pull Request