It looks like your bird is having seizures. The comforting thing is that you can give them medication to help alleviate the seizures from happening. Definitely take your bird to the vet and show them the video. But, I think you will be able to mediate this with medication. 

Just take comfort in the fact that the seizures are not hurting your bird, they are just confusing and disorienting for them. As long as your bird does not fall off of a perch or bump their heads or bodies into anything during the course of the seizure, they should be alright. 

I’m so sorry you are going through this. I know it’s hard to watch.  Good luck with everything. 💜