stopPlayer method
void
stopPlayer()
Stops the player and cancels the position update stream subscription.
Implementation
void stopPlayer() async {
_controller.stopPlayer();
_positionStreamSubs?.cancel();
_positionStreamSubs = null;
}