Struggling with Youtube Player Support Fragment

I ran into this problem before and I believe the issue stemmed from trying to inflate the YouTubePlayerSupportFragment layout. I solved my issue by creating a fragment like this: public class PlayerYouTubeFrag extends YouTubePlayerSupportFragment { private String currentVideoID = “video_id”; private YouTubePlayer activePlayer; public static PlayerYouTubeFrag newInstance(String url) { PlayerYouTubeFrag playerYouTubeFrag = new PlayerYouTubeFrag(); Bundle … Read more