public void onPlaybackEnd() {
   Log.d("jdj-ExoPlayer", "Player END");
   context.onVideoEnd();
   playerState = STATE_STOP;
   loadShutter.setVisibility(View.GONE);
   if (replayEnable) replayShutter.setVisibility(View.VISIBLE);
   // LOOP
   // player.seekTo(0);
 }
 @Override
 public void onError(Exception e) {
   Log.d("jdj-ExoPlayer", "Player ERROR " + playerErrors);
   playerErrors++;
   if (playerErrors >= 2) {
     context.onVideoFreeze();
   } else {
     playerNeedsPrepare = true;
     grabAudio();
     launchPlayer(NOW);
   }
 }