I don't think there is one single word for this situation. The idiom 'laugh at yourself' works well. As for your example, people around you would understand whether you were being serious, embarrassed or 'laughing at yourself' by your tone of voice.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.