The second-alarm fire broke out at Surprise Plastics on 57th Street in Sunset Park.
Maydays rang out for two firefighters after their legs got caught in a floor that collapsed.
They were able to free themselves and escape the building. They were not seriously injured.
Get Eyewitness News Delivered