Using the YouTube iOS Player Helper library (https://github.com/youtube/youtube-ios-player-helper downloaded on 2015-06-16), if I add the line:
@"origin": @"example.com",
before:
@"modestbranding": @1
at line 30 in SingleVideoViewController.m
, then the programatic controls no longer function to affect the video, and the progress bar no longer updates. Additionally, very few of the status messages are being shows/received.
I assume/hope "origin" would show up in analytics, to signify source, which is why I'm setting it.
Is there a specific format this text needs to be in, or something else I should be setting?
I'm cross posting this issue here as I have got no response to the GitHub issue https://github.com/youtube/youtube-ios-player-helper/issues/121
origin
abovemodestbranding
in my playerVars dictionary and can use the controls just fine. Can you post your full playerVars dictionary and how you callloadWithVideoId:
? – JALNSDictionary *playerVars = @{ @"controls" : @0, @"playsinline" : @0, @"autohide" : @1, @"showinfo" : @0, @"origin": @"example.com", @"modestbranding" : @1 };
– hawkwood