[MediaPlayer] fix it to not try getting handle when format is null (#931)