Giter Club home page Giter Club logo

Comments (16)

devbest555 avatar devbest555 commented on July 28, 2024 4

from xcdyoutubekit.

FvorY avatar FvorY commented on July 28, 2024 2

@tkachV Thank you for your information, it works for me

from xcdyoutubekit.

tkachV avatar tkachV commented on July 28, 2024 1

@devbest555

Maybe it's not your case, but for me worked
XCDYouTubeVideoOperation.m, line 152 change to:

NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"el": eventLabel, @"ps": @"default", @"html5" : @"1", @"c" : @"TVHTML5", @"cver" : @"6.20180913" };

added: [..., @"c" : @"TVHTML5", @"cver" : @"6.20180913"]

It's not tested for live-video.

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024 1

@tkachV
I had added it in line 152 already but live-video doesn't work.
I wish you will test the live-videos(azl07ua79pa, hartiIFC1s4).
If live-videos works fine, then Perfect and please inform me it

from xcdyoutubekit.

Candygoblen123 avatar Candygoblen123 commented on July 28, 2024 1

I've set up a fork with the changes, you should be able to use CocoaPods with it like this:
pod 'XCDYouTubeKit', :git => 'https://github.com/Candygoblen123/XCDYouTubeKit'

from xcdyoutubekit.

AshokRadadiya avatar AshokRadadiya commented on July 28, 2024 1

Hi, @AshokRadadiya
Please find your method and then comment here.

working sir, thank you!

from xcdyoutubekit.

tkachV avatar tkachV commented on July 28, 2024

Need update lib to new requirement.
Screenshot 2021-06-23 at 13 20 00

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024

@tkachV
Thank you for your information.
what should I change/add/update in the XCDYouTubeVideoKit?

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024

@FvorY
can you show me your project or code for playing the "LIVE" video(ex : azl07ua79pa, hartiIFC1s4)?
Thank you in advance

from xcdyoutubekit.

FvorY avatar FvorY commented on July 28, 2024

@devbest555 it not tested for live-video, my problem is video failed to play.

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024

@FvorY
I asked it about live-video.
any idea?

from xcdyoutubekit.

tester89 avatar tester89 commented on July 28, 2024

Can anyone fix this for Live video please. Thank you.

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024

from xcdyoutubekit.

AshokRadadiya avatar AshokRadadiya commented on July 28, 2024

For both of Live-video and common-videos :

  1. XCDYouTubeVideoOperation.m
    self.eventLabels = [[NSMutableArray alloc] initWithArray:@[ @"embedded", @"detailpage" ]];
    --->> [Edit]
    self.eventLabels =[[NSMutableArray alloc] init];
  2. XCDYouTubeVideo.m
    NSString *httpLiveStream = info[@"hlsvp"] ?: XCDHTTPLiveStreamingStringWithString(playerResponse);
    --->> [Edit]
    NSString *httpLiveStream = info[@"hlsvp"] ?: XCDHTTPLiveStreamingStringWithString(playerResponse);
    if(httpLiveStream.length == 0){
    httpLiveStream = info[@"streamingData"][@"hlsManifestUrl"];
    }

I added above code and then Worked fine.

not working for me

from xcdyoutubekit.

devbest555 avatar devbest555 commented on July 28, 2024

Hi, @AshokRadadiya
Please find your method and then comment here.

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.