{ "id": "174187", "key": "TIMOB-27424", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2019-10-21T18:10:19.000+0000", "created": "2019-09-27T12:27:05.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "ACF", "android-8", "videoplayer" ], "versions": [ { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "issuelinks": [], "assignee": null, "updated": "2019-12-02T23:06:33.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Issue Description:*\r\nWhen trying to play video in video player, it shows a black screen just before playing video using Ti SDK 8.2.0 on android 8 and 8.1.0\r\n\r\n*Steps to reproduce:*\r\n1. Create an alloy project and replace the code\r\n2. Download \"test.mp4\" video file from the attachment and place that in app/assets/android/video folder.\r\n2. Build the project and observe it'll show a black screen before playing the video.\r\n\r\n*Expected:* Shouldn't show any black screen before playing the video.\r\n*Actual:* Shows a black screen before playing the video.\r\n\r\n*Attachment:* See the screencast \"black_screen_issue.mp4\" \r\n\r\n*Test Code:*\r\n*index.xml:*\r\n{code}\r\n \r\n\r\n{code}\r\n\r\n*index.js*\r\n{code}\r\nvar vidWin = Titanium.UI.createWindow({\r\n title : 'Video View Demo',\r\n backgroundColor : '#fff'\r\n});\r\n\r\nvar videoPlayer = Titanium.Media.createVideoPlayer({\r\n top : 2,\r\n autoplay : true,\r\n backgroundColor : 'blue',\r\n //height : 300,\r\n //width : 300,\r\n height: Titanium.UI.SIZE,\r\n width: Titanium.UI.FILL,\r\n mediaControlStyle : Titanium.Media.VIDEO_CONTROL_NONE,\r\n scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT\r\n});\r\n\r\nvideoPlayer.url = '/video/test.mp4';\r\nvidWin.add(videoPlayer);\r\nvidWin.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "66987", "filename": "black_screen _issue.mp4", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-09-27T12:19:33.000+0000", "size": 1871264, "mimeType": "video/mp4" }, { "id": "66988", "filename": "test.mp4", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-09-27T12:11:36.000+0000", "size": 4642228, "mimeType": "video/mp4" } ], "flagged": false, "summary": "Android: Video player splashing black screen just before playing video", "creator": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "environment": "Operating System\r\nAppc CLI = 7.1.0\r\nMac OS X = 10.13.6\r\nNode.js Version = 8.9.1\r\nnpm Version = 5.5.1\r\nTitanium CLI = 5.2.1\r\nTitanium SDK = 8.2.0.GA\r\nDevice = Huawei Y9 2018 (android version 8)\r\n\r\n", "closedSprints": [ { "id": 1169, "state": "closed", "name": "2019 Sprint 22", "startDate": "2019-10-21T15:38:21.747Z", "endDate": "2019-11-03T15:38:00.000Z", "completeDate": "2019-11-04T18:36:57.022Z", "originBoardId": 114 }, { "id": 1170, "state": "closed", "name": "2019 Sprint 23", "startDate": "2019-11-04T18:38:14.526Z", "endDate": "2019-11-17T18:38:00.000Z", "completeDate": "2019-11-18T16:38:18.423Z", "originBoardId": 114 }, { "id": 1171, "state": "closed", "name": "2019 Sprint 24", "startDate": "2019-11-18T16:40:09.114Z", "endDate": "2019-12-01T16:40:00.000Z", "completeDate": "2019-12-02T23:06:24.654Z", "originBoardId": 114 }, { "id": 1172, "state": "closed", "name": "2019 Sprint 25", "startDate": "2019-12-02T23:08:39.644Z", "endDate": "2019-12-15T23:08:00.000Z", "completeDate": "2019-12-16T05:54:54.518Z", "originBoardId": 114 } ], "comment": { "comments": [], "maxResults": 6, "total": 6, "startAt": 0 } } }