-
Notifications
You must be signed in to change notification settings - Fork 626
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
Unable to play youtube video in iOS app #531
Comments
+1 |
Need to make little modification in "XCDYouTubeVideoOperation" For make this Fix. File : XCDYouTubeVideoOperation line: 152 Modification for line 152: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default", @"html5" : @1 }; Modification for line 361: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"eurl": eurl, @"sts": sts, @"html5" : @1 }; |
Solution - 0xced#531
Solution - 0xced#531
- Workaround suggested here: 0xced#531 (comment)
HI is anyone having problems with this again? I did these changes about a month ago but as of lately no longer work. |
@Tsquared86 yes, it's broken again for me as well |
Yep |
Yes. Did anyone find a solution for it? |
I replace the line 152 in "XCDYouTubeVideoOperation.m" with and le line 154 in "XCDYouTubeVideoOperation.m" with I followed this link |
There is a PR here that addresses it: |
I am having the same issue... does any one found any solution or can suggest any other option? |
Getting fail to decode response with below logs
[XCDYouTubeKit] Failed to decode response from https://www.youtube.com/get_video_info?el=embedded&hl=en&ps=default&video_id=-VmaT7ChiYs (response.textEncodingName = utf-8, data.length = 0)
2021-05-25 13:09:58.729299+0530 HealthKart[6512:163267] [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -3.)
Domain: XCDYouTubeVideoErrorDomain
Code: -3
Version (2.15.2)
The text was updated successfully, but these errors were encountered: