Bubble dynamics in liquid metals under external magnetic field