Burning magnesium will produce bright light that includes ultraviolet radiation. It is extremely unlikely that this student could touch the crucible if the magnesium in it were burning, but he appears to be taking no chances with his eyes!