private void handleNetworkChangeVideoPlayback(){
  hideNetworkError();
  try {
    if (player != null) {
      if (!curMessageTypes.contains(VideoNotPlayMessageType.IS_VIDEO_MESSAGE_DISPLAYED)) {
        if ((!player.isPaused() && !player.isPlaying() && !player.isPlayingLocally()) || (player.isInError() || player.isReset())) {
          showProgress();
        }
      }
      if (player.isInError() || player.isReset()) {
        player.restart(currentPosition);
      }
    }
  }
 catch (  Exception e) {
    logger.error(e);
  }
}

private void handleNetworkChangeVideoPlayback ( ) { hideNetworkError ( ) ; try { if ( player != null ) { if ( ! curMessageTypes . contains ( VideoNotPlayMessageType . IS_VIDEO_MESSAGE_DISPLAYED ) ) { if ( ( ! player . isPaused ( ) && ! player . isPlaying ( ) && ! player . isPlayingLocally ( ) ) || ( player . isInError ( ) || player . isReset ( ) ) ) { showProgress ( ) ; } } if ( player . isInError ( ) || player . isReset ( ) ) { player . restart ( currentPosition ) ; } } } catch ( Exception e ) { logger . error ( e ) ; } }
this method handles video playback on network change callbacks
