{"action":"created","issue":{"url":"https://api.github.com/repos/video-react/video-react/issues/18","repository_url":"https://api.github.com/repos/video-react/video-react","labels_url":"https://api.github.com/repos/video-react/video-react/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/video-react/video-react/issues/18/comments","events_url":"https://api.github.com/repos/video-react/video-react/issues/18/events","html_url":"https://github.com/video-react/video-react/issues/18","id":208072973,"number":18,"title":"Support fullscreen on iphone6s","user":{"login":"yc850k","id":7121802,"avatar_url":"https://avatars.githubusercontent.com/u/7121802?v=3","gravatar_id":"","url":"https://api.github.com/users/yc850k","html_url":"https://github.com/yc850k","followers_url":"https://api.github.com/users/yc850k/followers","following_url":"https://api.github.com/users/yc850k/following{/other_user}","gists_url":"https://api.github.com/users/yc850k/gists{/gist_id}","starred_url":"https://api.github.com/users/yc850k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yc850k/subscriptions","organizations_url":"https://api.github.com/users/yc850k/orgs","repos_url":"https://api.github.com/users/yc850k/repos","events_url":"https://api.github.com/users/yc850k/events{/privacy}","received_events_url":"https://api.github.com/users/yc850k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-16T09:57:56Z","updated_at":"2017-02-16T13:39:35Z","closed_at":null,"body":"### Issue description\r\n\r\n- version `#0.6.4`\r\n- browser: `safari on ios 10.2.1`\r\n\r\n### Steps to reproduce issue\r\n\r\n### Steps to reproduce\r\n\r\n1. set <Player playsInline>\r\n2. click <BigPlayButton>\r\n3. click fullscreen button in <ControlBar>\r\n\r\n### Expected behaviour\r\nnative full-screen in browser.\r\n\r\n### Actual behaviour\r\nvideo height is 0\r\n\r\nIt needs some code like this:\r\n```javascript\r\nconst videoElm = document.getElementsByTagName(\"video\")[0];\r\nif (videoElm.webkitSupportsFullscreen) {\r\n  if (videoElm.webkitDisplayingFullscreen){\r\n    videoElm.webkitExitFullscreen();\r\n  } else {\r\n    videoElm.webkitEnterFullscreen();\r\n  }\r\n}\r\n```\r\n\r\nhttps://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html\r\nhttps://developer.apple.com/reference/webkitjs/htmlvideoelement"},"comment":{"url":"https://api.github.com/repos/video-react/video-react/issues/comments/280332477","html_url":"https://github.com/video-react/video-react/issues/18#issuecomment-280332477","issue_url":"https://api.github.com/repos/video-react/video-react/issues/18","id":280332477,"user":{"login":"JimLiu","id":648674,"avatar_url":"https://avatars.githubusercontent.com/u/648674?v=3","gravatar_id":"","url":"https://api.github.com/users/JimLiu","html_url":"https://github.com/JimLiu","followers_url":"https://api.github.com/users/JimLiu/followers","following_url":"https://api.github.com/users/JimLiu/following{/other_user}","gists_url":"https://api.github.com/users/JimLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/JimLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimLiu/subscriptions","organizations_url":"https://api.github.com/users/JimLiu/orgs","repos_url":"https://api.github.com/users/JimLiu/repos","events_url":"https://api.github.com/users/JimLiu/events{/privacy}","received_events_url":"https://api.github.com/users/JimLiu/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T13:39:35Z","updated_at":"2017-02-16T13:39:35Z","body":"Did you try to add `playsInline` property for `Player` component? \r\nCheck the document: https://video-react.github.io/components/player/"}}
{"actor":{"display_login":"JimLiu"}}