-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vevo videos not working #105
Comments
yea i have the same problem here. |
Was just about to post :) I'm not getting an error this time though; just no video/sound. |
same problem here |
me too |
YouTube changed its API again. I will investigate and try to publish a new version ASAP. |
For some odd reason my users are reporting the same issue: "Request failed: 403". I am guessing this is due, the the API change that you mentioned. However, I have not experienced this issue myself. I really hope this is fixed 👍 :-) |
Yes, the 403 error stems from the API change. This only happens for protected videos though. |
Now it seem back to work again, slowly |
I'm seeing the same from here: the previous technique is working again. I don't know how to feel about it. |
Still not working for me. The playbackState on the MPMoviePlayer just never changes from buffering to playing. |
Yep not working either |
Has anybody tried older versions?? Which one is previous technique |
Nevermind, it's stopped working for us again too. By previous technique I just meant whatever master was using. |
Perhaps related, this is youtube_dls fix ytdl-org/youtube-dl@a9b6b5c |
İ've tried YouTube-dl. It also cannot download vevo videos. Have you tried it |
Yeah, youtube_dl works after the commit I linked to above. Before that it did not. |
Doing some debugging, it seems like the problem is that we're not getting the script we need to decode the signature. Putting code into XCDYouTubeVideoOperation.m's start function that downloads a hardcoded string of http://s.ytimg.com/yts/jsbin/html5player-en_US-vfl86Quee/html5player.js, and then uses XCDYouTubePlayerScript on that string makes it work. |
Still not in a good place code-style wise. Working on a patch. |
Ok, even better. In XCDYouTubeVideoOperation:start, if instead of calling The code just takes it from there. I don't know, looking at the code, why this code path never seems to come up otherwise. |
Alright, the code I borrow from elsewhere in the code to make my approach work seems to have come from an error handler. It's possible that the API used to tell us we needed to sign things, whereas now it just lets us submit unsigned things and rejects us. |
Alright, so I think I've traced it back to the change. It looks like there used to be a value in the response called "use_cipher_signature" that, when true, told us we needed to fetch the script to decode things. This key appears to no longer be present. |
Alright, the last thing that seems to have been needed was to make it so that a playerScript with no 's' parameter isn't considered an error. Patch getting cleaned up for some sort of review. |
Awesome, thanks for digging through this! |
I've put a pull request up at my fork: #106 |
Thanks for looking into this issue @psycotica0. I will issue an update to my users and see if it fixes the problems they have been experiencing. |
I'd suggest waiting for an official update, the proposed fix breaks a lot of unit tests. |
Yeah sure, that's why the update that I issued to my users is just a beta candidate. I will do an official release when the class gets an official update. |
I've also submitted an update with @psycotica0's fix. I hate to be the person to ask this, but is there a expected completion date on the official update? |
Hi guys I have a temporary fix in my fork: objectiveCarlo@932ce56 |
um... not working... same problem.. ㅠ.ㅠ |
I have the same problem here. |
I'm using @psycotica0's fix in the mean time too, although I understand that an official fix is on the way: pod 'XCDYouTubeKit', :git => 'https://github.com/psycotica0/XCDYouTubeKit.git', :commit => '898d3105f424ba61a11bd1c7c8c88d3dbb386e94' |
Is there any functional fix? |
The |
https://github.com/0xced/XCDYouTubeKit/tree/develop |
Looks like there's a reoccurrence of #94 here. Anybody else having problems playing vevo/wmg videos?
The text was updated successfully, but these errors were encountered: