{"action":"created","issue":{"url":"https://api.github.com/repos/newyjp/JPVideoPlayer/issues/116","repository_url":"https://api.github.com/repos/newyjp/JPVideoPlayer","labels_url":"https://api.github.com/repos/newyjp/JPVideoPlayer/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/newyjp/JPVideoPlayer/issues/116/comments","events_url":"https://api.github.com/repos/newyjp/JPVideoPlayer/issues/116/events","html_url":"https://github.com/newyjp/JPVideoPlayer/issues/116","id":310571783,"number":116,"title":"Video not visible in landscape","user":{"login":"Isuru-Nanayakkara","id":2551877,"avatar_url":"https://avatars0.githubusercontent.com/u/2551877?v=4","gravatar_id":"","url":"https://api.github.com/users/Isuru-Nanayakkara","html_url":"https://github.com/Isuru-Nanayakkara","followers_url":"https://api.github.com/users/Isuru-Nanayakkara/followers","following_url":"https://api.github.com/users/Isuru-Nanayakkara/following{/other_user}","gists_url":"https://api.github.com/users/Isuru-Nanayakkara/gists{/gist_id}","starred_url":"https://api.github.com/users/Isuru-Nanayakkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isuru-Nanayakkara/subscriptions","organizations_url":"https://api.github.com/users/Isuru-Nanayakkara/orgs","repos_url":"https://api.github.com/users/Isuru-Nanayakkara/repos","events_url":"https://api.github.com/users/Isuru-Nanayakkara/events{/privacy}","received_events_url":"https://api.github.com/users/Isuru-Nanayakkara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-02T18:51:44Z","updated_at":"2018-04-14T02:46:16Z","closed_at":"2018-04-13T13:13:31Z","author_association":"NONE","body":"Hi,\r\n\r\nI'm using the v2.4.0 of this library in a Swift 4 project.\r\n\r\nI fetch videos that are both portrait and landscape over the network. I don't have an issue playing portrait videos.\r\n\r\nBut when I call the `jp_gotoLandscape()`, the view goes off the screen. I can hear the video playing but can't see it. Below is my full code.\r\n\r\n```swift\r\nclass ViewController: UIViewController {\r\n    @IBOutlet weak var imageView: UIImageView!\r\n    \r\n    let portraitVideoUrl = URL(string: \"http://dd0kufvmqwydf.cloudfront.net/dev/candidate/virendra-pratap-singh-5a8e72dba967a34112aae0f3/videos/5ab358319de56269b760db37/5ab358319de56269b760db37.mp4\")\r\n    let landscapeVideoUrl = URL(string: \"http://dd0kufvmqwydf.cloudfront.net/dev/candidate/jacob-martin-5ab2485fa967a34112aae1ca/videos/5ab2490a9de56269b760db25/5ab2490a9de56269b760db25.mp4\")\r\n    \r\n    \r\n    @IBAction func didTapPortraitButton(_ sender: UIBarButtonItem) {\r\n        imageView.jp_gotoPortrait()\r\n        imageView.jp_playVideoHiddenStatusView(with: portraitVideoUrl)\r\n    }\r\n    \r\n    @IBAction func didTapLandscapeButton(_ sender: UIBarButtonItem) {\r\n        imageView.jp_gotoLandscape()\r\n        imageView.jp_playVideoHiddenStatusView(with: landscapeVideoUrl)\r\n    }\r\n    \r\n}\r\n```\r\n\r\nI've uploaded a demo project [here](https://www.dropbox.com/s/7isv1lqxzg5ibs8/JPVideoPlayerDemo.zip?dl=0)."},"comment":{"url":"https://api.github.com/repos/newyjp/JPVideoPlayer/issues/comments/381298239","html_url":"https://github.com/newyjp/JPVideoPlayer/issues/116#issuecomment-381298239","issue_url":"https://api.github.com/repos/newyjp/JPVideoPlayer/issues/116","id":381298239,"user":{"login":"newyjp","id":14839923,"avatar_url":"https://avatars3.githubusercontent.com/u/14839923?v=4","gravatar_id":"","url":"https://api.github.com/users/newyjp","html_url":"https://github.com/newyjp","followers_url":"https://api.github.com/users/newyjp/followers","following_url":"https://api.github.com/users/newyjp/following{/other_user}","gists_url":"https://api.github.com/users/newyjp/gists{/gist_id}","starred_url":"https://api.github.com/users/newyjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newyjp/subscriptions","organizations_url":"https://api.github.com/users/newyjp/orgs","repos_url":"https://api.github.com/users/newyjp/repos","events_url":"https://api.github.com/users/newyjp/events{/privacy}","received_events_url":"https://api.github.com/users/newyjp/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T02:46:16Z","updated_at":"2018-04-14T02:46:16Z","author_association":"OWNER","body":"You can see the landscape code in library, and copy it please."}}
{"actor":{"display_login":"newyjp"}}