0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
MIT License
2.93k stars 626 forks source link

Question about video returns #516

Closed SarahH12099 closed 3 years ago

SarahH12099 commented 3 years ago

NSDictionary streamURLs = video.streamURLs; NSURL streamURL = streamURLs[XCDYouTubeVideoQualityHTTPLiveStreaming] ?: streamURLs[@(XCDYouTubeVideoQualityHD720)] ?: streamURLs[@(XCDYouTubeVideoQualityMedium360)] ?: streamURLs[@(XCDYouTubeVideoQualitySmall240)]; NSLog("URL: %@", streamURL);

Hello, for the streamURL, I was wondering is there a way to make it return always the full video url and not the m3u8 please? I noticed with some videos it will return the full video and some videos will return m3u8. Is it possible to make it where it will only return the full video url please?

SarahH12099 commented 3 years ago

Never mind, sorry, I'm blind, lol

flyling commented 2 years ago

I don't want it returns m3u8. Now many videos it wll return m3u8. Who can help me?