{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/componentkit/issues/369","labels_url":"https://api.github.com/repos/facebook/componentkit/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/facebook/componentkit/issues/369/comments","events_url":"https://api.github.com/repos/facebook/componentkit/issues/369/events","html_url":"https://github.com/facebook/componentkit/issues/369","id":105204432,"number":369,"title":"Video player in components","user":{"login":"gudjao","id":4822801,"avatar_url":"https://avatars.githubusercontent.com/u/4822801?v=3","gravatar_id":"","url":"https://api.github.com/users/gudjao","html_url":"https://github.com/gudjao","followers_url":"https://api.github.com/users/gudjao/followers","following_url":"https://api.github.com/users/gudjao/following{/other_user}","gists_url":"https://api.github.com/users/gudjao/gists{/gist_id}","starred_url":"https://api.github.com/users/gudjao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gudjao/subscriptions","organizations_url":"https://api.github.com/users/gudjao/orgs","repos_url":"https://api.github.com/users/gudjao/repos","events_url":"https://api.github.com/users/gudjao/events{/privacy}","received_events_url":"https://api.github.com/users/gudjao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T12:12:56Z","updated_at":"2015-09-08T14:57:06Z","closed_at":"2015-09-08T14:57:06Z","body":"Is there an example on how to implement placing video players in components? I tried subclassing but doesnt work. any tips/guide or example for this. thanks."},"comment":{"url":"https://api.github.com/repos/facebook/componentkit/issues/comments/138592291","html_url":"https://github.com/facebook/componentkit/issues/369#issuecomment-138592291","issue_url":"https://api.github.com/repos/facebook/componentkit/issues/369","id":138592291,"user":{"login":"adamjernst","id":97944,"avatar_url":"https://avatars.githubusercontent.com/u/97944?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjernst","html_url":"https://github.com/adamjernst","followers_url":"https://api.github.com/users/adamjernst/followers","following_url":"https://api.github.com/users/adamjernst/following{/other_user}","gists_url":"https://api.github.com/users/adamjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjernst/subscriptions","organizations_url":"https://api.github.com/users/adamjernst/orgs","repos_url":"https://api.github.com/users/adamjernst/repos","events_url":"https://api.github.com/users/adamjernst/events{/privacy}","received_events_url":"https://api.github.com/users/adamjernst/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T14:57:06Z","updated_at":"2015-09-08T14:57:06Z","body":"Use a `CKStatefulViewComponent` that wraps a view with an `AVPlayerLayer`. That will allow you to avoid losing the layer when components recycles views."}}