code: public void next() {
          final PlayList pl = getPlaylist();
  
          final int previousPosition = pl.getCurrentSlide();
          pl.next();
          final int currentPosition = pl.getCurrentSlide();
  
          playSlide(currentPosition, previousPosition);
      }
docs: Move to the next slide