Meghan Trainor Shares Behind-the-Scenes Peek at Her Music Video With the 'Peanuts' Gang!

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

Fresh off her vocal cord surgery, Meghan Trainor is back and dancing with Snoopy! ET was behind the scenes of the singer-songwriter's music video for "Better When I'm Dancin'."

Meghan shimmies with the whole Peanuts gang in the new video, two-stepping to the tropical-sounding track from the upcoming Peanuts Movie, along with a few family members.

MORE: Meghan Trainor Reveals Vocal Cord Injury

"The director, Philip [Andelman], who is amazing, he made sure everything was shot in black and white first and then he put my family and everyone in bright colors, and by the end, we're all dancing and having a great time, just like the song," Trainor told ET.

The 21-year-old "All About That Bass" singer wrote the song for the soundtrack, which also features Owl City, Flo Rida and more.

This follows Meghan's revelation in July that she was suffering from a hemorrhage on her vocal cords, which forced her to cancel her tour. Last month, Meghan posted an update to Instagram with pre- and post-surgery photos.

"I look so hurt haha I survived tho!" she wrote. "Thank you Dr. Nasseri for being my hero. Now just napping all day long on the couch with mama and getting free head rubs any movie suggestions?"

WATCH: Meghan Trainor Dishes on Being Bullied and Embracing Her Body

Glad to have you back, Meghan!

While The Peanuts Movie opens Nov. 6, the soundtrack is due out two weeks earlier on Oct. 23.