An Australian teenager who recorded an emotional goodbye video watched by millions on YouTube has died.

Melbourne schoolboy Shaun Wilson-Miller, 17, lost his fight only weeks after announcing on YouTube he had suffered chronic heart rejection, adding, "I won't be here for as long as I thought."

He died Saturday afternoon after a second heart transplant failed.

His brave words, meant for only family and friends, went viral and caused an outpouring of love and support. It has been watched by 1.5 million people worldwide.

"This has been an awesome ride," Shaun said in the video. "I have no regrets. Live life to the fullest because you never know what's going to happen."

In his final weeks, Sean filmed a role on Aussie TV soap "Neighbours" and met his favorite footballer. He had also found love with a fellow heart patient.

Shaun sighed, "The hardest thing for me is leaving her, knowing that I won't get to marry her. To have kids together. To grow old together. That is what makes me sad."

Friends and family wrote their condolences on the Facebook page of Shaun's father, Cameron Miller, and mother, Sally Devers.

"You showed so much courage for so long," said one message. "Fly high sweet angel."

Click for more from The Herald Sun.