Skip to content

Commit

Permalink
Update XCDYouTubeVideoOperation.m
Browse files Browse the repository at this point in the history
  • Loading branch information
sixty8 authored Jul 9, 2021
1 parent 2d43ea8 commit 3fbcb48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions XCDYouTubeKit/XCDYouTubeVideoOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ - (void) handleJavaScriptPlayerWithScript:(NSString *)script

if (self.webpage.isAgeRestricted && self.cookies.count == 0)
{
NSString *eventLabel = [self.eventLabels objectAtIndex:0];
[self.eventLabels removeObjectAtIndex:0];

NSString *eurl = [@"https://youtube.googleapis.com/v/" stringByAppendingString:self.videoIdentifier];
NSString *sts = self.embedWebpage.sts ?: self.webpage.sts ?: @"";
//NSDictionary *query = @{ @"video_id": self.videoIdentifier, @"hl": self.languageIdentifier, @"eurl": eurl, @"sts": sts};
Expand Down

0 comments on commit 3fbcb48

Please sign in to comment.