Closed secretrobotron closed 9 years ago
It's YouTube v2 data API being deprecated. Not new to my radar, happened awhile ago.
It's a two part problem, because we use the v2 API in two areas, and both require different things to properly fix it.
The v3 data API has rate limited and API keys. Also should be done server side. That can work for popcorn maker media gallery but is a bit more work than I think is worth fixing.
The popcorn js bug cannot use v3 because it's a client side lib, so it's forced to rely on the embed. This is a bit slower but still kinda works, starts to get bad with a lot of clips sequenced together.
Popcornjs already has the fix, community fixed it. I have not bother to implement and test the new popcornjs version in popcorn maker because it doesn't seem worth it without doing the above fix too.
I'm fine with fixing this, would take a couple days. Although the rate limiting concerns me a lot. My experience with github's API is you hit thousands of calls very quickly (less than an hour) when getting any significant amount of data. If that's the case for this, we would need to redesign the media gallery or limit the searches to certain words so we can cache searches. Or try other things that I have not thought of yet.
Something up with Jenkins, but the fix is merged, just need to test it on staging.
Playback should be fixed now. Closing.
Some video content in Popcorn makes has stopped working properly (e.g. https://nazareth.makes.org/popcorn/2pue).
@ScottDowne thinks this is due to an API change.
@simonwex can you advise here? What kind of priority should we put behind maintenance like this?