Daniel Radcliffe is featured in a The Trevor Project video which premiered Tuesday during the Fox musical-comedy Glee.

California-based The Trevor Project focuses on crisis and suicide prevention efforts for gay, lesbian, bisexual and transgender (LGBT) youth. The non-profit's Lifeline is the nation's only 24-hour, toll-free confidential suicide prevention hotline for gay and questioning young people.

Radcliffe's 30-second video dovetails with many of the episode's themes of suicide, bullying and homophobia.

In the episode, titled On My Way, closeted student Dave Karofsky (played by Max Adler) attempts to kill himself after he is rejected by his classmates and family for being gay.

“I believe that reaching out for help is the bravest thing a person can do,” Radcliffe says in the 30-second spot. “If you are struggling and need support, call the Trevor Lifeline.” (The video is embedded in the right panel of this page. Visit our video library for more videos.)

During Glee's second season, Dave taunted and bullied openly gay Kurt Hummel (Chris Colfer), yet it's Kurt who comes to Dave's side as he's lying in a hospital bed.

“I'm not going to lie to you,” Kurt tells Dave, “it isn't going to be easy. And there'll be some days when life just sucks. But you're going to get through this. Because I'm going to help you. And so is everyone else who loves you and accepts you for who you are.”

(Related: Daniel Radcliffe to play gay poet Allen Ginsberg in John Krokidas thriller.)