Celebrities from John Legend to Ellen DeGeneres to Jerry Seinfeld saluted the president in a video that has been shared by millions online.