Youtube Player Api Throwing Exception
I looked into other threads, but found no solution for this, except it was originally detected for API 21, i.e. Lollipop. While, I am facing this issue in Lollipop as well as post-
Finally I got rid of this issue. I replaced the YouTubeSupportFragment
with YouTubeBaseActivity
and used YouTubePlayerView
to play the video.
In other words, I used an Activity
extending YouTubeBaseActivity
to play the video instead of a Fragment
.
Hope it helps someone getting the issue.
Post a Comment for "Youtube Player Api Throwing Exception"