2

I have follow the How to play Youtube videos in Android Video View? and get VideoView to view YouTube video playing through the extracted RTSP.

However it doesn't play the original video, but play a message video as per the attached pictureYouTube Message. Why is this happening? How could I access the original YouTube video to play?

Or is there another better way of playing with YouTube Video in the VideoView?

Thanks.

Community
  • 1
  • 1
Elye
  • 53,639
  • 54
  • 212
  • 474
  • 1
    I would try https://developers.google.com/youtube/android/player/ – jmhostalet May 28 '15 at 20:14
  • Thanks jmhostalet. That's my workaround (or perhaps a better permanent solution). But it's still good to understand why this native approach is now having this issue. – Elye May 29 '15 at 04:50
  • Playing video in Android has been always a mess, a truly nightmare among devices and SDK versions, I think "YouTube Android Player API" is the way to solve all those problems. – jmhostalet May 29 '15 at 08:42

0 Answers0