You need separate animations for each and every different type of swing movement. Like having different animations for walk, run, idle, jump, etc. etc.
Unless you just want the player to be able to go through all of those movements at once like in the video. You'll still have to have all the different frames, but you'll add them all together in just 1 animation.