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
You are not passing in a valid url for the
origin
parameter.Try
@"origin": @"https://example.com"
or@"origin": @"http://example.com"
. Note thehttp(s)://
.