I using the new YouTube API in my project. Using the example of the documentation, it works correctly:
public class Test extends YouTubeBaseActivity impleme
Use YouTubePlayerSupportFragment if you are only playing a YouTube video in a single support.v4.app.Fragment. This allows you to use FragmentActivity, rather than YouTubeBaseActivity.