private void playPrevious(){
  if (mediaType == Config.YOUTUBE_MEDIA_TYPE_VIDEO) {
    restartVideo();
    return;
  }
  if (nextWasCalled) {
    iterator.previous();
    nextWasCalled=false;
  }
  if (!iterator.hasPrevious()) {
    iterator=youTubeVideos.listIterator(youTubeVideos.size());
  }
  videoItem=iterator.previous();
  previousWasCalled=true;
  playVideo();
}

private void playPrevious ( ) { if ( mediaType == Config . YOUTUBE_MEDIA_TYPE_VIDEO ) { restartVideo ( ) ; return ; } if ( nextWasCalled ) { iterator . previous ( ) ; nextWasCalled = false ; } if ( ! iterator . hasPrevious ( ) ) { iterator = youTubeVideos . listIterator ( youTubeVideos . size ( ) ) ; } videoItem = iterator . previous ( ) ; previousWasCalled = true ; playVideo ( ) ; }
plays previous video in playlist
