{"action":"created","issue":{"url":"https://api.github.com/repos/yoik/cordova-yoik-screenorientation/issues/46","labels_url":"https://api.github.com/repos/yoik/cordova-yoik-screenorientation/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/yoik/cordova-yoik-screenorientation/issues/46/comments","events_url":"https://api.github.com/repos/yoik/cordova-yoik-screenorientation/issues/46/events","html_url":"https://github.com/yoik/cordova-yoik-screenorientation/issues/46","id":67402758,"number":46,"title":"Whose view is not in the window hierarchy!","user":{"login":"morkov4o","id":900015,"avatar_url":"https://avatars.githubusercontent.com/u/900015?v=3","gravatar_id":"","url":"https://api.github.com/users/morkov4o","html_url":"https://github.com/morkov4o","followers_url":"https://api.github.com/users/morkov4o/followers","following_url":"https://api.github.com/users/morkov4o/following{/other_user}","gists_url":"https://api.github.com/users/morkov4o/gists{/gist_id}","starred_url":"https://api.github.com/users/morkov4o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morkov4o/subscriptions","organizations_url":"https://api.github.com/users/morkov4o/orgs","repos_url":"https://api.github.com/users/morkov4o/repos","events_url":"https://api.github.com/users/morkov4o/events{/privacy}","received_events_url":"https://api.github.com/users/morkov4o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-09T16:45:27Z","updated_at":"2015-04-09T23:40:31Z","closed_at":null,"body":"when i try to make \r\n\r\nelement.on(\"webkitbeginfullscreen\", function() { \r\nconsole.log(\"webkitbeginfullscreen\");\r\nscreen.lockOrientation('landscape-primary'); \r\n});\r\n\r\ni`m getting \r\n\r\nWarning: Attempt to present <ForcedViewController: 0x16daaaa0> on <MainViewController: 0x155c2460> whose view is not in the window hierarchy!\r\n\r\nany ideas? "},"comment":{"url":"https://api.github.com/repos/yoik/cordova-yoik-screenorientation/issues/comments/91382037","html_url":"https://github.com/yoik/cordova-yoik-screenorientation/issues/46#issuecomment-91382037","issue_url":"https://api.github.com/repos/yoik/cordova-yoik-screenorientation/issues/46","id":91382037,"user":{"login":"morkov4o","id":900015,"avatar_url":"https://avatars.githubusercontent.com/u/900015?v=3","gravatar_id":"","url":"https://api.github.com/users/morkov4o","html_url":"https://github.com/morkov4o","followers_url":"https://api.github.com/users/morkov4o/followers","following_url":"https://api.github.com/users/morkov4o/following{/other_user}","gists_url":"https://api.github.com/users/morkov4o/gists{/gist_id}","starred_url":"https://api.github.com/users/morkov4o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morkov4o/subscriptions","organizations_url":"https://api.github.com/users/morkov4o/orgs","repos_url":"https://api.github.com/users/morkov4o/repos","events_url":"https://api.github.com/users/morkov4o/events{/privacy}","received_events_url":"https://api.github.com/users/morkov4o/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T23:40:31Z","updated_at":"2015-04-09T23:40:31Z","body":"Hi,\r\n\r\nthanks for the quick response. We have HTML5 video player and I want to force the full screen video to play in landscape mode. That`s why i`m using the screen orientation api. "}}