switching to avplayer