Twenty one people who were trapped on a theme park ride in California in the US have been rescued.

Some were stuck on the ride at Knotts Berry Farm near Los Angeles for more than seven hours.