Dramatic footage, taken by a member of the public, shows a fire raging through a historic UK building.