Comments (16)
from xcdyoutubekit.
@tkachV Thank you for your information, it works for me
from xcdyoutubekit.
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.
@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.
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.
Hi, @AshokRadadiya
Please find your method and then comment here.
working sir, thank you!
from xcdyoutubekit.
Need update lib to new requirement.
from xcdyoutubekit.
@tkachV
Thank you for your information.
what should I change/add/update in the XCDYouTubeVideoKit?
from xcdyoutubekit.
@FvorY
can you show me your project or code for playing the "LIVE" video(ex : azl07ua79pa, hartiIFC1s4)?
Thank you in advance
from xcdyoutubekit.
@devbest555 it not tested for live-video, my problem is video failed to play.
from xcdyoutubekit.
@FvorY
I asked it about live-video.
any idea?
from xcdyoutubekit.
Can anyone fix this for Live video please. Thank you.
from xcdyoutubekit.
from xcdyoutubekit.
from xcdyoutubekit.
For both of Live-video and common-videos :
- XCDYouTubeVideoOperation.m
self.eventLabels = [[NSMutableArray alloc] initWithArray:@[ @"embedded", @"detailpage" ]];
--->> [Edit]
self.eventLabels =[[NSMutableArray alloc] init];- 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.
Hi, @AshokRadadiya
Please find your method and then comment here.
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.”
- No longer works: XCDYouTubeVideoErrorDomain error -3 HOT 22
- Unable to play youtube video in iOS app HOT 10
- getVideoWithIdentifier return XCDYouTubeVideoErrorDomain error HOT 25
- (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.