Police in Scotland are investigating claims that a teenager died by suicide because he was being blackmailed online.

Daniel Perry, 17, is thought to have fallen victim to a scam where internet users are lured into webcam chats and then blackmailed with the footage.

The teenager is said to have believed he was talking to an American girl on Skype but was told by blackmailers that the conversations had been recorded and would be shared with friends and family unless he paid up.

Daniel, from Dunfermline in Fife, died on 15 July.

Police in Scotland confirmed that officers are investigating the circumstances surrounding his death and urged anyone experiencing cyberbullying to report it.

It has also been reported that the teenager had allegedly been bullied by anonymous users on the social media website Ask.fm about three months before he died.

The case follows that of 14-year-old Hannah Smith in Leicestershire in England, who died by suicide after she was allegedly bullied online.

Her funeral was held in her home town of Lutterworth this morning.