Oscars 2014: Pharrell Williams Gets 'Happy' With Jamie Foxx, Meryl Streep

Kevin Winter/Getty Images
Pharrell Williams performs onstage during the Oscars at the Dolby Theatre on March 2, 2014 in Hollywood, California.

Pharrell Williams rocked out to "Happy" at the Oscars on Sunday, during which he went into the audience to shimmy -- literally -- with Lupita Nyong'o, Meryl Streep and Amy Adams in the front row.

With a black version of his now-signatureVivienne Westwood hat, Williams crossed the stage in a track jacket, jeans and bright red sneakers. As revealed during his earlier rehearsals, a choir of high school students and 20 professional dancers accompanied him on the Dolby Theatre stage. Jamie Foxx and his daughter Corinne also got in on the fun.

This media is not available on this platform.

Williams' "Despicable Me 2" track is nominated for best original song against U2's "Ordinary Love" from Mandela: Long Walk to Freedom, Karen O's "The Moon Song" from Her and written with Spike Jonze, and "Let It Go" by Robert Lopez and Kristen Anderson-Lopez from Frozen. 

OSCAR PHOTOS: Red Carpet and Show Highlights

Besides being a song "'about Gru and being happy and this relentless mood that can’t be changed,'" Williams told Billboard of the track, "Happy" is also featured on Williams' latest album, "G I R L," which officially hits shelves March 3 -- though it has been available to stream via iTunes Radio for the past week. "G I R L" is Williams' first album release in eight years.

Williams also released the first-ever 24-hour music video for the song, which features guest spots from Odd Future's Tyler, the Creator and Earl Sweatshirt, Steve Martin, Steve Carell and more. The interface for the video, found on the website 24hoursofhappy.com, sets the clip at a time corresponding to the local time of the viewer, with the ability to fast-forward, rewind and skip around to different times of the day.

"Happy" recently became the highest-charting Oscar-nominated song in more than a decade, as it jumped from No. 8 to No. 2 on the Billboard Hot 100 chart during the week of Feb. 12. The Despicable Me 2 track currently has the top spot, after eight weeks on the Hot 100. The last Oscar-nominated song to top the Hot 100 was Eminem's "Lose Yourself," which spent 12 weeks at No. 1 in late 2001 and early 2002.

'Frozen' Ballad Wins Best Song
Idina Menzel Rocks 'Let It Go'
Jared Leto Wins Best Supporting Actor
U2's Performance Honors Mandela
Karen O Sings 'Her' Song With Vampire Weekend Frontman
Oscars 2014 Live Blog
Top 10 Oscars Music Performances
PHOTOS: Oscars Red Carpet & Show
Pharrell Sings 'Happy' At Oscars
P!nk's 'Wizard of Oz' Tribute
Oscars: Best Musician Tweets
Darlene Love Sings Through Speech
Oscar's Best Song Battle
Top 50 Movie Songs Ever