Around 12 passengers on board the Airbus A330 had to be given oxygen while the plane was still mid-air.