2

All of a sudden (May 10th 2016) the Android YouTubePlayer refuses to play certain music videos (VEVO for example). I know this has come up before and then gone away again but I wanted to know if anyone else has seen this change today and if there are any workarounds? I've seen others fix this with Webview based YouTube players but not with the Android YouTubePlayer. Any ideas?

How can I work around YouTube API embed restrictions like other websites?

Community
  • 1
  • 1
milleph
  • 462
  • 5
  • 20
  • Have you tried this? http://stackoverflow.com/questions/19175720/youtube-api-v3-filtering-embeddable-videos – Android Enthusiast May 11 '16 at 12:20
  • Thanks, I had implemented filtering way back when this first occurred but for the last couple of years it had not been an issue and no filtering was necessary until yesterday – milleph May 11 '16 at 12:49

2 Answers2

1

If you check this project https://github.com/theScrabi/NewPipe they manage to play Vevo videos, i belive they use youtube-dl.

This restriction seems to be happening to most android apps that use youtube API, Shazam for example.

Thought
  • 5,326
  • 7
  • 33
  • 69
  • Yes, I saw the same problem on Shazam confirming it wasn't something my app was doing. Thanks for that. I'll take a look at NewPipe – milleph May 12 '16 at 20:35
  • Took a look at NewPipe - works very well for my purposes. Thanks. – milleph May 16 '16 at 13:52
  • No problem :) , on a side note, i belive vevo videos are working again on shazam. – Thought May 16 '16 at 13:52
  • So, in conclusion, no sooner had I done the work to integrate the NewPipe approach displaying videos in a VideoView, the YouTubePlayer starts playing Vevo videos again, meaning Google has removed the restrictions. Now I've done most of the work I think the best way forward is to have both implemented and have some runtime adaptation should videos become blocked. – milleph May 17 '16 at 14:17
0

I got the same problem with the youtube player for Android since yesterday, i'm looking for a solution too but nothing still. I tried to create a new browser key but nothing changes. I've never had this kind of problem before.

Edit: I confirm that now VEVO & Company videos are playing fine again on my YouTube Android Player. Thank you guys for your help.

abstract
  • 1
  • 1
  • As Ric said above, it's an issue for all apps, including Shazam. I verified it by trying to play an embedded video on that app - same problem. Feels like this may not get reversed and a Webview approach may be required. I'm going to take a closer look over the next few days so will update shortly – milleph May 13 '16 at 16:05