player_observer library

Mixins

PlayerObserver
Use with Video or Audio widget to get player notifications such as onPlay, onPause etc. See example on how to use.