The audience watched as Mr Obama danced from the podium.