Ben Turner and Gabe Turner directed the shoot at NASA's Johnson Space Center in Houston.
Horan tried out the Partial Gravity Simulator, a device that imitates the partial gravity that a person would experience on the moon, an asteroid or Mars.
Filming took place around the NASA T-38 aircraft jets that are used by astronauts to train for spaceflight, and the NASA WB-57 High Altitude Research Aircraft, a specialized aircraft that is used for high atmosphere research work.
1D filmed in a full-scale replica of the Orion spacecraft, NASA's vehicle in development for crewed missions to deep space, wearing spacesuits designed for when astronauts launch and land.
Styles met Robonaut, a human-like robot, a model of which is now aboard the International Space Station.
Tomlinson steered the Space Exploration Vehicle rover, a prototype vehicle design that could be used with wheels to explore the surface of Mars.
"Drag Me Down" is the quartet's most successful global single launch ever, selling over 500,000 copies in its first week.
Payne worked inside a replica of the International Space Station, a world-class laboratory that orbits 250 miles above Earth.
"Drag Me Down" has hit No.1 on iTunes in 90 countries.
Within three weeks of its release on July 31, 2015, "Drag Me Down" reached over 72 Million in cumulative audience at U.S. radio.