Malcolm-Jamal Warner gave fans an uplifting message that "there's always a reason to smile" in his final Instagram video before his death aged 54.
The actor, who starred in The Cosby Show from 1984 to 1992, posted a video with a flower in his hair on 15 May, describing how he'd been celebrating his daughter's birthday.
"Have a smile for yourself and be a reason for someone else to smile," Warner said.
His official cause of death was asphyxia, after he was caught by a strong current while swimming off Cocles, a beach in Limon, on Costa Rica’s Atlantic coast. A representative for Warner confirmed the news to The Independent.