It was just a joke. What he was doing was moving his head up and down and letting the ball bounce off his head while he was hitting the rock [pretty sure it's fake though] and he did it for a good 5-10 minutes.
I've seen him do stuff like this before but I've never seen any other panda do anything similar.