Next function in MediaPlayer2Player class