{ "id": "173111", "key": "TIMOB-26892", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2020-01-14T21:51:18.000+0000", "created": "2019-03-11T17:17:42.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" }, { "id": "20429", "name": "Release 7.5.1", "archived": false, "released": true, "releaseDate": "2019-02-26" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-14T21:51:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Hello,\r\n\r\nThe video player orientation is not changing properly in iOS 11.x but it's working fine for iOS 12 and above. Please have a look at the attachment videos.\r\n\r\n*Steps to reproduce the issue:*\r\n1.Let app orientation be in portrait and play the video(Using the below app.js file)\r\n2. make video go in full screen\r\n3. switch the device in landscape mode, video orientation will come in landscape mode\r\n4. Do not change the orientation any more and tap on cross button to go back to app exiting full screen video mode\r\n5. you will notice window/screen in portrait mode. \r\n\r\n*Test Code:*\r\napp.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\twidth:\"100%\",\r\n\theight:\"100%\",\r\n\tcolor:\"yellow\"\r\n});\r\nvideoPlayerView = Ti.UI.createView({\r\n\tleft:'3%',\r\n \tbackgroundColor:'#D8D8D8',\r\n \tborderColor:'#979797',\r\n \tborderWidth:'1',\r\n \ttop:'10%',\r\n \twidth:'94%' ,\r\n \theight:'30%',\r\n\t});\r\n win.add(videoPlayerView);\r\n\r\nvideoPlayer =Titanium.Media.createVideoPlayer({\r\n\t\ttop : 0,\r\n\t autoplay : false,\t \r\n\t \theight : '100%',\r\n\t width : '100%',\r\n\t url:\"https://www.radiantmediaplayer.com/media/bbb-360p.mp4\",\r\n\t mediaControlStyle : Ti.Media.VIDEO_CONTROL_DEFAULT,\r\n\t scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FILL, \r\n\t repeatMode:Titanium.Media.VIDEO_REPEAT_MODE_ONE,\t\r\n\t});\r\nvideoPlayerView.add(videoPlayer);\r\nwin.open();\r\n{code}\r\n\r\n*Test Environment:*\r\nAppcelerator Command-Line Interface, version 7.0.9\r\nOperating System\r\nName = Mac OS X\r\nVersion = 10.14\r\nArchitecture = 64bit\r\n\r\nCPUs = 4\r\nMemory = 8589934592\r\nNode.js\r\nNode.js Version = 8.9.1\r\nnpm Version = 5.5.1\r\nTitanium CLI\r\nCLI Version = 5.1.1\r\nTitanium SDK\r\nSDK Version = 7.5.1.GA,7.5.0.GA\r\niOS simulator version: 12.1, 11.4\r\n\r\nThanks", "attachment": [ { "id": "66571", "filename": "ios 12nativeapp_videoinvisible .MP4.zip", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-04-24T20:57:30.000+0000", "size": 10304782, "mimeType": "application/zip" }, { "id": "66234", "filename": "issue with iOS 11.x.MOV", "author": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T17:16:34.000+0000", "size": 6940759, "mimeType": "video/quicktime" }, { "id": "66236", "filename": "TestMoviePlayer.zip", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T23:41:18.000+0000", "size": 8509148, "mimeType": "application/zip" }, { "id": "66233", "filename": "Working fine(iOS 12).MP4", "author": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T17:17:01.000+0000", "size": 6629519, "mimeType": "video/mp4" } ], "flagged": false, "summary": "iOS: Video player orientation is not changing properly in iOS 11.x", "creator": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "IOS, Video Player", "closedSprints": [ { "id": 1123, "state": "closed", "name": "2019 Sprint 7", "startDate": "2019-03-18T17:27:25.993Z", "endDate": "2019-03-30T17:27:00.000Z", "completeDate": "2019-03-29T18:02:37.441Z", "originBoardId": 114 }, { "id": 1124, "state": "closed", "name": "2019 Sprint 8", "startDate": "2019-03-31T18:03:00.000Z", "endDate": "2019-04-12T18:03:00.000Z", "completeDate": "2019-04-12T19:04:50.175Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446750", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to run on iOS 11 and iOS 12. Both are behaving same. After going in landscape mode and clicking cross button, video orientation is in landscape mode.\r\n\r\nIf I change device orientation in portrait, it changes to portrait mode.\r\nI tried on iOS 11.1 and iOS 12.1.\r\n\r\nI tried with native iOS app (attached [^TestMoviePlayer.zip] ) as well and it is behaving same.\r\n\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T23:41:34.000+0000", "updated": "2019-03-11T23:41:34.000+0000" }, { "id": "447677", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In native app(attached) in iOS 11 also there is some random behavior -\r\nIn native app after step 5 (as mentioned in app description)- \r\n1. Make video in full screen . \r\n2. Then tap on cross button. Video view get resized too small.\r\n\r\nI'll file apple bug for this. The bug mentioned in ticket may be fixed if apple fixed this app as we do not have iOS 11/12 specific code for video player size and orientation.\r\nMeanwhile I'll check in SDK if I can get something to fix this in iOS 11.\r\nThanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-12T23:45:20.000+0000", "updated": "2019-04-16T22:56:28.000+0000" }, { "id": "447727", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Filed a bug to apple. Corresponding radar is - https://openradar.appspot.com/radar?id=4971866041090048", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-16T22:56:52.000+0000", "updated": "2019-04-16T22:56:52.000+0000" }, { "id": "447785", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I got following reply from Apple and they closed the issue -\r\n\r\n\"\r\nApple Developer Relations\r\n\r\nEngineering has provided the following information regarding this issue: \r\nThank you for the report. This issue has been resolved in iOS 12.0 and later.\r\n\"", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-19T20:25:08.000+0000", "updated": "2019-04-19T20:25:08.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }