The Dallas Mavericks are winning in the social media front although the team is dealing with some tough times on the court.

The Mavericks posted a video on their Twitter page that managed to split a few sides from laughter.

The team chose to pick on their new max player Harrison Barnes with a short guest appearance by Mavs star professor Dumbledirk, played by Dirk Nowitzki.

Taken from the movie Harry Potter, the Mavericks posted their parody rendition, Harrison Potter. Contained in the video are a mix of movies Harry Potter movie scenes along with some NBA clips.

Barnes waves his wand, and it magically translates to success for him on the court.

Take a look below.