A man was caught on video smashing down a security camera during a burglary