A man has placed a bucket under a cow as he is in the process of milking the animal.