{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/51","id":58322454,"html_url":"https://github.com/gilesvangruisen/Swift-YouTube-Player/pull/51","diff_url":"https://github.com/gilesvangruisen/Swift-YouTube-Player/pull/51.diff","patch_url":"https://github.com/gilesvangruisen/Swift-YouTube-Player/pull/51.patch","issue_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues/51","number":51,"state":"closed","locked":false,"title":"Return if URL is valid","user":{"login":"alinekborges","id":5591222,"avatar_url":"https://avatars.githubusercontent.com/u/5591222?v=3","gravatar_id":"","url":"https://api.github.com/users/alinekborges","html_url":"https://github.com/alinekborges","followers_url":"https://api.github.com/users/alinekborges/followers","following_url":"https://api.github.com/users/alinekborges/following{/other_user}","gists_url":"https://api.github.com/users/alinekborges/gists{/gist_id}","starred_url":"https://api.github.com/users/alinekborges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinekborges/subscriptions","organizations_url":"https://api.github.com/users/alinekborges/orgs","repos_url":"https://api.github.com/users/alinekborges/repos","events_url":"https://api.github.com/users/alinekborges/events{/privacy}","received_events_url":"https://api.github.com/users/alinekborges/received_events","type":"User","site_admin":false},"body":"It would be a good idea to return if URL is valid (is youtube link) or not. My app used user input url and it did not give any information if the url was valid and simply never gets to the ready state\r\n\r\nAlso might be good to suport sortened youtube links :)\r\n\r\n`    public func loadVideoURL(videoURL: NSURL) -> Bool {\r\n        if let videoID = videoIDFromYouTubeURL(videoURL) {\r\n            loadVideoID(videoID)\r\n            return true\r\n        } else {\r\n            return false\r\n        }\r\n    }`\r\n\r\nThanks for the great work, this lib is awesome and very simple :) ","created_at":"2016-02-04T17:43:41Z","updated_at":"2016-07-09T19:11:12Z","closed_at":"2016-07-09T19:11:12Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/51/commits","review_comments_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/51/comments","review_comment_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues/51/comments","statuses_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/statuses/3e12bb545e06467dacb7f214f8a8bfa7625e0197","head":{"label":"coreyauger:master","ref":"master","sha":"3e12bb545e06467dacb7f214f8a8bfa7625e0197","user":{"login":"coreyauger","id":1414300,"avatar_url":"https://avatars.githubusercontent.com/u/1414300?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyauger","html_url":"https://github.com/coreyauger","followers_url":"https://api.github.com/users/coreyauger/followers","following_url":"https://api.github.com/users/coreyauger/following{/other_user}","gists_url":"https://api.github.com/users/coreyauger/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyauger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyauger/subscriptions","organizations_url":"https://api.github.com/users/coreyauger/orgs","repos_url":"https://api.github.com/users/coreyauger/repos","events_url":"https://api.github.com/users/coreyauger/events{/privacy}","received_events_url":"https://api.github.com/users/coreyauger/received_events","type":"User","site_admin":false},"repo":{"id":34534806,"name":"Swift-YouTube-Player","full_name":"coreyauger/Swift-YouTube-Player","owner":{"login":"coreyauger","id":1414300,"avatar_url":"https://avatars.githubusercontent.com/u/1414300?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyauger","html_url":"https://github.com/coreyauger","followers_url":"https://api.github.com/users/coreyauger/followers","following_url":"https://api.github.com/users/coreyauger/following{/other_user}","gists_url":"https://api.github.com/users/coreyauger/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyauger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyauger/subscriptions","organizations_url":"https://api.github.com/users/coreyauger/orgs","repos_url":"https://api.github.com/users/coreyauger/repos","events_url":"https://api.github.com/users/coreyauger/events{/privacy}","received_events_url":"https://api.github.com/users/coreyauger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coreyauger/Swift-YouTube-Player","description":"Swift Cocoapods library for embedding and controlling YouTube videos in your iOS applications!","fork":true,"url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player","forks_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/forks","keys_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/teams","hooks_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/hooks","issue_events_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/issues/events{/number}","events_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/events","assignees_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/assignees{/user}","branches_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/branches{/branch}","tags_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/tags","blobs_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/statuses/{sha}","languages_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/languages","stargazers_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/stargazers","contributors_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/contributors","subscribers_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/subscribers","subscription_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/subscription","commits_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/contents/{+path}","compare_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/merges","archive_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/downloads","issues_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/issues{/number}","pulls_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/pulls{/number}","milestones_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/milestones{/number}","notifications_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/labels{/name}","releases_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/releases{/id}","deployments_url":"https://api.github.com/repos/coreyauger/Swift-YouTube-Player/deployments","created_at":"2015-04-24T18:27:25Z","updated_at":"2016-07-05T05:35:38Z","pushed_at":"2016-02-13T06:55:05Z","git_url":"git://github.com/coreyauger/Swift-YouTube-Player.git","ssh_url":"git@github.com:coreyauger/Swift-YouTube-Player.git","clone_url":"https://github.com/coreyauger/Swift-YouTube-Player.git","svn_url":"https://github.com/coreyauger/Swift-YouTube-Player","homepage":"","size":46,"stargazers_count":8,"watchers_count":8,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":8,"default_branch":"master"}},"base":{"label":"gilesvangruisen:master","ref":"master","sha":"c9c814a1afe109fbdd56e3b8a480a59ee6020c85","user":{"login":"gilesvangruisen","id":1256189,"avatar_url":"https://avatars.githubusercontent.com/u/1256189?v=3","gravatar_id":"","url":"https://api.github.com/users/gilesvangruisen","html_url":"https://github.com/gilesvangruisen","followers_url":"https://api.github.com/users/gilesvangruisen/followers","following_url":"https://api.github.com/users/gilesvangruisen/following{/other_user}","gists_url":"https://api.github.com/users/gilesvangruisen/gists{/gist_id}","starred_url":"https://api.github.com/users/gilesvangruisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilesvangruisen/subscriptions","organizations_url":"https://api.github.com/users/gilesvangruisen/orgs","repos_url":"https://api.github.com/users/gilesvangruisen/repos","events_url":"https://api.github.com/users/gilesvangruisen/events{/privacy}","received_events_url":"https://api.github.com/users/gilesvangruisen/received_events","type":"User","site_admin":false},"repo":{"id":28312712,"name":"Swift-YouTube-Player","full_name":"gilesvangruisen/Swift-YouTube-Player","owner":{"login":"gilesvangruisen","id":1256189,"avatar_url":"https://avatars.githubusercontent.com/u/1256189?v=3","gravatar_id":"","url":"https://api.github.com/users/gilesvangruisen","html_url":"https://github.com/gilesvangruisen","followers_url":"https://api.github.com/users/gilesvangruisen/followers","following_url":"https://api.github.com/users/gilesvangruisen/following{/other_user}","gists_url":"https://api.github.com/users/gilesvangruisen/gists{/gist_id}","starred_url":"https://api.github.com/users/gilesvangruisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilesvangruisen/subscriptions","organizations_url":"https://api.github.com/users/gilesvangruisen/orgs","repos_url":"https://api.github.com/users/gilesvangruisen/repos","events_url":"https://api.github.com/users/gilesvangruisen/events{/privacy}","received_events_url":"https://api.github.com/users/gilesvangruisen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gilesvangruisen/Swift-YouTube-Player","description":"Swift library for embedding and controlling YouTube videos in your iOS applications!","fork":false,"url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player","forks_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/forks","keys_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/teams","hooks_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/hooks","issue_events_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues/events{/number}","events_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/events","assignees_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/assignees{/user}","branches_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/branches{/branch}","tags_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/tags","blobs_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/git/refs{/sha}","trees_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/statuses/{sha}","languages_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/languages","stargazers_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/stargazers","contributors_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/contributors","subscribers_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/subscribers","subscription_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/subscription","commits_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/commits{/sha}","git_commits_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/git/commits{/sha}","comments_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/comments{/number}","issue_comment_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues/comments{/number}","contents_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/contents/{+path}","compare_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/merges","archive_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/downloads","issues_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues{/number}","pulls_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls{/number}","milestones_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/milestones{/number}","notifications_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/labels{/name}","releases_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/releases{/id}","deployments_url":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/deployments","created_at":"2014-12-21T20:50:19Z","updated_at":"2016-07-09T04:52:00Z","pushed_at":"2016-07-09T19:04:58Z","git_url":"git://github.com/gilesvangruisen/Swift-YouTube-Player.git","ssh_url":"git@github.com:gilesvangruisen/Swift-YouTube-Player.git","clone_url":"https://github.com/gilesvangruisen/Swift-YouTube-Player.git","svn_url":"https://github.com/gilesvangruisen/Swift-YouTube-Player","homepage":"","size":81,"stargazers_count":251,"watchers_count":251,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":28,"forks":61,"open_issues":28,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/51"},"html":{"href":"https://github.com/gilesvangruisen/Swift-YouTube-Player/pull/51"},"issue":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues/51"},"comments":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/gilesvangruisen/Swift-YouTube-Player/statuses/3e12bb545e06467dacb7f214f8a8bfa7625e0197"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":10,"additions":207,"deletions":22,"changed_files":6}}
{"actor":{"display_login":"gilesvangruisen"}}