A dog makes several attempts before managing to jump up and get a ball out of a tree.