How was Cody Simpson discoverd?

Cody simpson was discovered on youtube when he posted a video of him and his sister friend singing 'im yours' by Jason Maraz.
After he posted that video he posted a few more video with him plying his guitar and singing and thats how it happened =))