Comments (22)
Need to make little modification in "XCDYouTubeVideoOperation" For make this Fix.
Replac line number 152,361 with new one that i have listedout at bottom.
File : XCDYouTubeVideoOperation
line: 152
line: 361
Modification for line 152: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default" , @"html5" : @1,@"html5" : @1, @"c":@"TVHTML5", @"cver":@6.20180913};
Modification for line 361: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default" , @"html5" : @1,@"html5" : @1, @"c":@"TVHTML5", @"cver":@6.20180913};
from xcdyoutubekit.
Need to make little modification in "XCDYouTubeVideoOperation.m" For make this Fix cause the api we are using in isn't working for me(may be Api is depricated or something else i don't know)
File : XCDYouTubeVideoOperation.m
Modification for line 151: NSDictionary *query = @{ @"id": self.videoIdentifier};
Modification for line 153: NSURL *videoInfoURL = [NSURL URLWithString:[@"https://www.googleapis.com/youtube/v3/videos?part=id%2C+snippet&key={YOUR_API_KEY_HERE}" stringByAppendingString:queryString]];
you can get your api key from google console "YouTube Data API v3"
from xcdyoutubekit.
@devbest555 where exactly?
from xcdyoutubekit.
Thank
@hArshpb11 this fixed for me.....
from xcdyoutubekit.
Need to make little modification in "XCDYouTubeVideoOperation" For make this Fix.
Replac line number 152,361 with new one that i have listedout at bottom.File : XCDYouTubeVideoOperation
line: 152
line: 361Modification 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 };
It's worked for me. Thank bro!
from xcdyoutubekit.
Livestreams worked for me using the above fix
from xcdyoutubekit.
Yes, stop using this lib, it's doomed anyway. Use the youtube-ios-player-helper instead.
from xcdyoutubekit.
duplicate of: #525
from xcdyoutubekit.
The merged PR doesn't show up in the SPM release yet.
from xcdyoutubekit.
Hi
I want to know when will this issue be resolved
thanks
from xcdyoutubekit.
When we can expect this fix in new pod version
from xcdyoutubekit.
Fixed here snakx/YouTubeApiSharp@e7dd772
from xcdyoutubekit.
Need to make little modification in "XCDYouTubeVideoOperation" For make this Fix.
Replac line number 152,361 with new one that i have listedout at bottom.File : XCDYouTubeVideoOperation
line: 152
line: 361Modification for line 152: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default" , @"html5" : @1,@"html5" : @1, @"c":@"TVHTML5", @"cver":@6.20180913};
Modification for line 361: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default" , @"html5" : @1,@"html5" : @1, @"c":@"TVHTML5", @"cver":@6.20180913};
here is a few minor things that make it working again.
from xcdyoutubekit.
hArshpb11
Need to make little modification in "XCDYouTubeVideoOperation" For make this Fix.
Replac line number 152,361 with new one that i have listedout at bottom.
File : XCDYouTubeVideoOperation
line: 152
line: 361
Modification for line 152: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default" , @"html5" : @1,@"html5" : @1, @"c":@"TVHTML5", @"cver":@6.20180913};
Modification for line 361: NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default" , @"html5" : @1,@"html5" : @1, @"c":@"TVHTML5", @"cver":@6.20180913};here is a few minor things that make it working again.
Hi, hArshpb11
did you test the live videos?
For "LIVE NOW" videos, it does play ?
from xcdyoutubekit.
can we chat in Skype or Telegram now?
my skype : live:.cid.e5675d33daad7e3f
telegram : @fullstackwe
Thank you in advance
from xcdyoutubekit.
Livestreams worked for me using the above fix
Awaiting your reply
from xcdyoutubekit.
Livestreams worked for me using the above fix
live videoIDs : hartiIFC1s4, azl07ua79pa
can you test these videos works in your side using XDCYouTubeVideoKit?
from xcdyoutubekit.
It happens again today Jul 22, 2021.
from xcdyoutubekit.
kinda happens monthly, what's going on here ? :(
from xcdyoutubekit.
my guess is that google is tired of non google access by downloaders such as this framework.
from xcdyoutubekit.
Fortunately, this error solved already
my guess is that google is tired of non google access by downloaders such as this framework.
from xcdyoutubekit.
Can anyone show me where to find final solution if any?
from xcdyoutubekit.
Related Issues (20)
- Error Domain=XCDYouTubeVideoErrorDomain Code=-3 "(null)" HOT 4
- Can't get the streamUrl of Live Stream HOT 11
- CP=βThis is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=en for more info.β
- Unable to play youtube video in iOS app HOT 10
- getVideoWithIdentifier return XCDYouTubeVideoErrorDomain error HOT 25
- streamURL = nil for "LIVE NOW" videos(youtube). HOT 16
- (iOS) XCDYouTubeVideoErrorDomain: -2 with empty User Info for upcoming live stream HOT 2
- XCDYouTubeRequestTypeGetVideoInfo is resulting in a 404 response
- Error XCDYouTubeVideoErrorDomain -2 when i try open video HOT 23
- Error playing video HOT 11
- VIDEO NOT PLAYING (CHECK THIS BEFORE CREATING NEW) HOT 23
- Video Takes a Long Time to Load - Same video performs differently daily HOT 11
- Get StreamUrls from Id is nil HOT 1
- [XCDYouTubeKit] Failed to decode response Code: -3 HOT 7
- Live video plays for last 2:00:00 hours only.
- Cannot play video with XCDYouTubeVideoErrorDomain Code: -2
- live video
- The following content is not available on this app. HOT 1
- Emergency fix HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcdyoutubekit.