Flight attendants acted quickly to extinguish the flames and moved the burning device to the middle section of the plane.