{"action":"created","issue":{"url":"https://api.github.com/repos/0xced/XCDYouTubeKit/issues/157","labels_url":"https://api.github.com/repos/0xced/XCDYouTubeKit/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/0xced/XCDYouTubeKit/issues/157/comments","events_url":"https://api.github.com/repos/0xced/XCDYouTubeKit/issues/157/events","html_url":"https://github.com/0xced/XCDYouTubeKit/issues/157","id":93785038,"number":157,"title":"Move to AVKitPlayerViewController","user":{"login":"Ben10do","id":4216726,"avatar_url":"https://avatars.githubusercontent.com/u/4216726?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben10do","html_url":"https://github.com/Ben10do","followers_url":"https://api.github.com/users/Ben10do/followers","following_url":"https://api.github.com/users/Ben10do/following{/other_user}","gists_url":"https://api.github.com/users/Ben10do/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben10do/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben10do/subscriptions","organizations_url":"https://api.github.com/users/Ben10do/orgs","repos_url":"https://api.github.com/users/Ben10do/repos","events_url":"https://api.github.com/users/Ben10do/events{/privacy}","received_events_url":"https://api.github.com/users/Ben10do/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/0xced/XCDYouTubeKit/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T13:06:44Z","updated_at":"2015-07-11T02:49:58Z","closed_at":null,"body":"In iOS 9, MPMoviePlayerViewController will be deprecated. It's probably about time to move away from it, in favour of the AVKit classes, like AVKitPlayerViewController. This could be cause for some refactoring, since AVKitPlayerViewController cannot be subclassed, but if this keeps XCDYouTubeKit working in the future (and with features like Picture-in-Picture), then it should be worth the effort in the long run."},"comment":{"url":"https://api.github.com/repos/0xced/XCDYouTubeKit/issues/comments/120565234","html_url":"https://github.com/0xced/XCDYouTubeKit/issues/157#issuecomment-120565234","issue_url":"https://api.github.com/repos/0xced/XCDYouTubeKit/issues/157","id":120565234,"user":{"login":"0xced","id":51363,"avatar_url":"https://avatars.githubusercontent.com/u/51363?v=3","gravatar_id":"","url":"https://api.github.com/users/0xced","html_url":"https://github.com/0xced","followers_url":"https://api.github.com/users/0xced/followers","following_url":"https://api.github.com/users/0xced/following{/other_user}","gists_url":"https://api.github.com/users/0xced/gists{/gist_id}","starred_url":"https://api.github.com/users/0xced/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xced/subscriptions","organizations_url":"https://api.github.com/users/0xced/orgs","repos_url":"https://api.github.com/users/0xced/repos","events_url":"https://api.github.com/users/0xced/events{/privacy}","received_events_url":"https://api.github.com/users/0xced/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T02:49:58Z","updated_at":"2015-07-11T02:49:58Z","body":"It's already pretty simple to use an `AVPlayerViewController` by creating an `AVPlayer` with a stream URL from a `XCDYouTubeVideo` but I will definitely consider adding a convenience class in the next version of XCDYouTubeKit."}}