{"action":"opened","issue":{"url":"https://api.github.com/repos/teramotodaiki/hackforplayer/issues/59","repository_url":"https://api.github.com/repos/teramotodaiki/hackforplayer","labels_url":"https://api.github.com/repos/teramotodaiki/hackforplayer/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/teramotodaiki/hackforplayer/issues/59/comments","events_url":"https://api.github.com/repos/teramotodaiki/hackforplayer/issues/59/events","html_url":"https://github.com/teramotodaiki/hackforplayer/issues/59","id":176561737,"number":59,"title":"Default Frames","user":{"login":"teramotodaiki","id":6120593,"avatar_url":"https://avatars.githubusercontent.com/u/6120593?v=3","gravatar_id":"","url":"https://api.github.com/users/teramotodaiki","html_url":"https://github.com/teramotodaiki","followers_url":"https://api.github.com/users/teramotodaiki/followers","following_url":"https://api.github.com/users/teramotodaiki/following{/other_user}","gists_url":"https://api.github.com/users/teramotodaiki/gists{/gist_id}","starred_url":"https://api.github.com/users/teramotodaiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teramotodaiki/subscriptions","organizations_url":"https://api.github.com/users/teramotodaiki/orgs","repos_url":"https://api.github.com/users/teramotodaiki/repos","events_url":"https://api.github.com/users/teramotodaiki/events{/privacy}","received_events_url":"https://api.github.com/users/teramotodaiki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-13T06:39:29Z","updated_at":"2016-09-13T06:39:29Z","closed_at":null,"body":"Frames should be loaded on window.onload are able to write down as object in **initialize** function.\r\n```javascript\r\nwindow.h4p('h4p', {\r\n  screen: {\r\n    url: 'http://localhost:3000/screen.html',\r\n    model: () => {\r\n      const files = getSomeFiles();\r\n      return {files};\r\n    },\r\n    onload: ({child}) => {\r\n      child.frame.style.position = 'absolute';\r\n    }\r\n  }\r\n});\r\n```"}}
{"actor":{"display_login":"teramotodaiki"}}