Despite a viral video making the rounds on social media, Prince Charles didn't snub Vice President Mike Pence, Pence's press secretary says.

The video shows Prince Charles skipping over Pence as he stopped to shake hands with other world leaders in Jerusalem Thursday at the World Holocaust Forum.

However, the two shook hands and chatted backstage at the forum, Pence's team stated. The Clarence House, the household of the Duke and Duchess of Cornwall, also confirmed Pence and Charles spoke beforehand.

"Vice President Pence and the Second Lady spoke with Prince Charles for five minutes in the preprogram before they entered the hall," Pence's press secretary Katie Waldman said in an email to USA TODAY. "Also, they shook hands at the end of his remarks."

In a tweet, Waldman denied the Prince of Wales snubbed the vice president, adding a video of the leaders interacting in another tweet: "This is not true. VP and Prince Charles spoke prior to entering the event floor and after his remarks as well."

Prince Charles to attend World Holocaust Forum during Israel visit

Prince Charles, meanwhile, spoke about the horrors of the Holocaust in a speech at the forum.

This year's forum World Holocaust Forum in Jerusalem commemorates the 75th anniversary of the liberation of former World War II concentration camp Auschwitz-Birkenau.

"Almost a lifetime has passed since the horror of the Holocaust unfolded on the European continent and those who bore witness to it are sadly ever fewer," Prince Charles said. "We must commit ourselves to ensuring that their stories live on to be known and understood by each successive generation."

He also said Holocaust survivors' experiences "must always educate and guide and warn us."

"The Holocaust must never be allowed to become simply a fact of history," Charles said. "We must never cease to be appalled nor moved by the testimony of those who lived through it."

He continued: "Real violence ensues, and acts of unspeakable cruelty are still perpetrated around the world against people for reasons of their religion, their race or their beliefs. … We must be fearless in confronting falsehoods and resolute in resisting words and acts of violence, and we must never rest in seeking to create mutual understanding and respect."

Charles will also visit the West Bank while abroad.

This isn't the first time the prince has visited Israel. He also visited in 1995 and 2016. This is the first time, however, that the royal is scheduled to undergo several engagements, according to a press release from Clarence House.

Contributing: Sara M. Moniuszko