See here: https://developers.google.com/youtube/iframe_api_reference?hl=de#Getting_Started