The application on the Youtube videos have been created on 2 years old API. The API has evolved since then quite much. Therefore I would suggest you to check the videos to get the ideas and then check the API documentation and