Giter Club home page Giter Club logo

Comments (22)

hArshpb11 avatar hArshpb11 commented on September 3, 2024 23

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.

johnnie476 avatar johnnie476 commented on September 3, 2024 6

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.

GregoireTapptic avatar GregoireTapptic commented on September 3, 2024 6

@devbest555 where exactly?

from xcdyoutubekit.

Muhammad572 avatar Muhammad572 commented on September 3, 2024 1

Thank
@hArshpb11 this fixed for me.....

from xcdyoutubekit.

Soliy0u avatar Soliy0u commented on September 3, 2024 1

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 };

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.

cbg-dev-k avatar cbg-dev-k commented on September 3, 2024 1

Livestreams worked for me using the above fix

from xcdyoutubekit.

dcristolovean avatar dcristolovean commented on September 3, 2024 1

Yes, stop using this lib, it's doomed anyway. Use the youtube-ios-player-helper instead.

from xcdyoutubekit.

ryanfrancesconi avatar ryanfrancesconi commented on September 3, 2024

duplicate of: #525

from xcdyoutubekit.

ryanfrancesconi avatar ryanfrancesconi commented on September 3, 2024

The merged PR doesn't show up in the SPM release yet.

from xcdyoutubekit.

Muhammad572 avatar Muhammad572 commented on September 3, 2024

Hi
I want to know when will this issue be resolved
thanks

from xcdyoutubekit.

wasim954 avatar wasim954 commented on September 3, 2024

When we can expect this fix in new pod version

@0xced

from xcdyoutubekit.

thisistorsten avatar thisistorsten commented on September 3, 2024

Fixed here snakx/YouTubeApiSharp@e7dd772

from xcdyoutubekit.

hArshpb11 avatar hArshpb11 commented on September 3, 2024

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.

from xcdyoutubekit.

devbest555 avatar devbest555 commented on September 3, 2024

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.

devbest555 avatar devbest555 commented on September 3, 2024

can we chat in Skype or Telegram now?
my skype : live:.cid.e5675d33daad7e3f
telegram : @fullstackwe
Thank you in advance

from xcdyoutubekit.

devbest555 avatar devbest555 commented on September 3, 2024

Livestreams worked for me using the above fix

Awaiting your reply

from xcdyoutubekit.

devbest555 avatar devbest555 commented on September 3, 2024

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.

tungdangplus avatar tungdangplus commented on September 3, 2024

It happens again today Jul 22, 2021.

from xcdyoutubekit.

dcristolovean avatar dcristolovean commented on September 3, 2024

kinda happens monthly, what's going on here ? :(

from xcdyoutubekit.

ryanfrancesconi avatar ryanfrancesconi commented on September 3, 2024

my guess is that google is tired of non google access by downloaders such as this framework.

from xcdyoutubekit.

devbest555 avatar devbest555 commented on September 3, 2024

Fortunately, this error solved already

my guess is that google is tired of non google access by downloaders such as this framework.

from xcdyoutubekit.

tungdangplus avatar tungdangplus commented on September 3, 2024

Can anyone show me where to find final solution if any?

from xcdyoutubekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.