By Devan Coggan
Updated January 19, 2016 at 12:00 PM EST
Credit: Barry King/Getty Images; Johnny Nunez/WireImage

After Jada Pinkett Smith announced she would boycott the Oscars due to the lack of diversity among this year’s nominees, her husband Will Smith’s former Fresh Prince of Bel Air costar, Janet Hubert, shared a video calling out Pinkett Smith’s boycott as hypocritical.

“I find it ironic that somebody who has made their living and made millions and millions of dollars from the very people that you’re talking about boycotting just because you didn’t get a nomination, just because you didn’t win?” Hubert said in the video. “That is not the way life works, baby.”

RELATED: David Oyelowo addresses lack of diversity in Oscar nominees

Hubert starred opposite Will Smith on Fresh Prince as Aunt Viv from 1990 to 1993. She was replaced on the showby Daphne Maxwell Reid in 1993, and in the years since, has frequently spoken out in criticism of Will Smith. That continued in her new video, where Hubert took a shot at the actor for his performance in Concussion, which was cited among the Oscar nominations’ top snubs last week.

“Maybe you didn’t deserve a nomination,” Hubert said of Will Smith. “I didn’t think, frankly, you deserved a Golden Globe nomination with that accent, but you got one.”

Since the 2016 Oscar nominations were announced on Thursday, many have criticized the Academy picking all-white acting nominees for the second straight year, and stars like Pinkett Smith and Spike Lee have vowed not to attend the ceremony in protest. On Monday night, Academy president Cheryl Boone Isaacs released a statement saying she was “heartbroken and frustrated about the lack of inclusion.” Isaacs promised to review the Academy’s membership and take steps to increase diversity.2016 Academy Award Nominee Diversity | PrettyFamous

Watch Hubert’s video above.