It is normally possible to raise a happy and healthy dog without staying home all day every day. Behavioral issues as this one has often don't manifest until after you've adopted the dog, and cats can experience separation anxiety as well. In any event, absent time travel it is not useful advice for this dog's owner.
From the video it sounds like the owner had consulted a professional trainer, and barricading the dog in this room was the trainer's advice. After making and viewing this video, he decided to give the dog full run of the house.