@Override
  public void pause() {

    super.pause();
    updatePlayPauseUI();
  }
  @Override
  public void onActivityCreated(Bundle savedInstanceState) {

    super.onActivityCreated(savedInstanceState);
    init(getArguments().getString(ARG_MEDIA_URI));
  }
 @Override
 public void onResume() {
   super.onResume();
   postDelayedSetPosition(getPosition(), isPlaying());
 }