{ "id": "136377", "key": "TIMOB-17671", "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": null, "resolutiondate": null, "created": "2014-09-10T14:16:59.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:32.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "When using the toImage() function on a video, you will notice that the video current view of the video is not returned. Instead only a black window. This happens if the video is currently playing OR if the video is paused. In the event that controls are enabled, you will see the controls, but not the video.\r\n\r\nSteps to reproduce:\r\n\r\n1. Create a new Mobile App Project\r\n2. In the `index.xml` - add the following to the window object\r\n\r\n{code}\r\n\r\n{code}\r\n\r\n3. in the `index.js` add the following code:\r\n\r\n{code}\r\nsetTimeout(function(){\r\n $.videoPlayer.pause();\r\n\r\n var img = Ti.UI.createImageView({\r\n image: $.videoPlayer.toImage(),\r\n height: Ti.UI.FILL,\r\n width: Ti.UI.SIZE\r\n });\r\n \r\n $.index.add(img);\r\n}, 2000);\r\n{code}\r\n\r\nNotice that the image captured does not show the rendered video, but only a black screen\r\n\r\nExpectation\r\nImage should include the rendered video ", "attachment": [], "flagged": false, "summary": "Ti.Media.VideoPlayer toImage() returns black screen not the rendered video", "creator": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "322790", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi All, I need a bit more information here:\r\n\r\n# Platform\r\n# Titanium SDK, CLI, Studio, Alloy versions, device/simulator being targeted\r\n# This should be a bug :)", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-10T15:18:35.000+0000", "updated": "2014-09-10T15:18:35.000+0000" }, { "id": "322791", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "Ti SDK - 3.3.0GA\r\nTi CLI - v3.3.0\r\niOS Simulator v7.1\r\nAlloy - v1.4.1\r\n", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2014-09-10T15:34:32.000+0000", "updated": "2014-09-10T15:34:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }