A teenage Hampshire student has become a dot-com millionaire by selling the website business he invented in his bedroom.

Kieran O'Neill, 19, from Winchester, developed video streaming website HolyLemon.com two years before YouTube was launched.

The Bath University student has returned from America after agreeing a deal worth 1.25 million dollars (£630,000) with computer giant Handheld Entertainment.

Mr O'Neill, who studies business administration, said: ''With exams, I haven't really had time to celebrate yet.

''The website started off as a way of showing Flash animations I made to my friends and just grew from there.

''I designed the early sites in my bedroom at home and the trick was learning how to effectively stream user-generated video clips through the browser.'' Mr O'Neill set up HolyLemon.com in 2003, when he was taking his GCSEs.

As word of the site spread, he started streaming user-generated funny video clips submitted to the site.

HolyLemon.com soon had more than 50,000 users per day and became established as Google's first-ranked website for the search term ''funny videos''.

In March, HolyLemon.com had more than 1.1 million unique visitors - 32% of whom were based inside Europe.