{ "id": "155102", "key": "TIMOB-20458", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-02-09T17:59:53.000+0000", "created": "2016-02-24T17:31:10.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-09T17:59:53.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": [], "description": "h3. Steps to Reproduce\r\n\r\n{code:javascript} \r\nvar nativePath = 'file:///var/mobile/Containers/Data/Application/xxxx/Documents/exercise-vid-fhd-98.mp4';\r\n \r\nvar videoPlayer = Titanium.Media.createVideoPlayer({\r\n\turl: nativePath,\r\n autoplay : true,\r\n \trepeatMode: Ti.Media.VIDEO_REPEAT_MODE_ONE, \r\n mediaControlStyle: Titanium.Media.VIDEO_CONTROL_NONE ,\r\n scalingMode : Ti.Media.VIDEO_SCALING_ASPECT_FIT,\r\n backgroundColor: '#f0f2f2'\r\n});\r\n \r\nvar window = Ti.UI.createWindow();\r\n\r\nwindow.add(videoPlayer);\r\n\r\nwindow.open();\r\n\r\n\r\nTi.App.addEventListener('pause', function() { videoPlayer.pause()});\r\nTi.App.addEventListener('resume', function() { videoPlayer.play()});\r\n{code} \r\n\r\n\r\nh3. Actual Result\r\nIf user during video play press Home button and then get back to application than very often video is not visible anymore but it's playing (sound can be heard). If user change the orientation than video is visible again.\r\nSometimes video reapers if pausing and resuming app is repeated for few times.\r\nThe problem is not connected with size of the file because same problem occurs with very small videos (800KB) and very big ones (60MB).\r\n\r\nh3. Expected Result\r\nVideo should not dissapear and should be always visible.", "attachment": [ { "id": "58311", "filename": "diagnostic7624837244250426097.log", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-24T17:31:29.000+0000", "size": 146385, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Video is not displaying on iOS after resuming to app.", "creator": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [], "maxResults": 3, "total": 3, "startAt": 0 } } }