{ "id": "86620", "key": "TIMOB-7690", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-08-01T22:36:06.000+0000", "created": "2012-02-16T13:56:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-01T22:36:06.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When running a sample for Android Fullscreen VideoPlayer, the video doesn't show up in the emulator.\r\nRunning the same sample on the device, the video appears correctly.\r\n\r\nTest case:\r\n{code}\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win = Titanium.UI.createWindow({\r\n\ttitle : 'Test',\r\n\tbackgroundColor : '#fff',\r\n\texitOnClose : true\r\n});\r\n\r\nvar contentURL = \"http://dts.podtrac.com/redirect.mp4/twit.cachefly.net/video/aaa/aaa0033/aaa0033_h264b_640x368_256.mp4\";\r\n\r\nvar openButton = Ti.UI.createButton({\r\n\ttitle : \"Start Video\",\r\n\ttop : \"5dp\",\r\n\theight : \"40dp\",\r\n\tleft : \"10dp\",\r\n\tright : \"10dp\"\r\n});\r\n\r\nopenButton.addEventListener('click', function() {\r\n\tvar activeMovie = Titanium.Media.createVideoPlayer({\r\n\t\turl : contentURL,\r\n\t\tbackgroundColor : 'blue',\r\n\t\tmovieControlMode : Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n\t\tscalingMode : Titanium.Media.VIDEO_SCALING_MODE_FILL,\r\n\t\tfullscreen : true,\r\n\t\tautoplay : true\r\n\t});\r\n\r\n\tvar closeButton = Ti.UI.createButton({\r\n\t\ttitle : \"Exit Video\",\r\n\t\ttop : \"5dp\",\r\n\t\theight : \"40dp\",\r\n\t\tleft : \"10dp\",\r\n\t\tright : \"10dp\"\r\n\t});\r\n\r\n\tcloseButton.addEventListener('click', function() {\r\n\t\tactiveMovie.hide();\r\n\t\tactiveMovie.release();\r\n\t\tactiveMovie = null;\r\n\t});\r\n\r\n\tactiveMovie.add(closeButton);\r\n});\r\nwin.add(openButton);\r\n\r\nwin.open();\r\n{code}\r\n\r\nOn the API Level 8 WVGA emulator, I'm not even seeing the video controls. In the Level 13 WVGA emulator, I'm seeing the controls and hearing audio, but the screen stays blank until I move the video position slider. Then I see still images as I move the slider, but they stay frozen when I release it. Also tried on the HVGA emulator to see if it was trouble handling the scaling, but that didn't work any better.\r\n\r\nNot sure why normal video works in the emulator, but the fullscreen seems to freeze.\r\n", "attachment": [], "flagged": false, "summary": "Android: Fullscreen VideoPlayer does not appear in emulator", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "183793", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Arthur, what is your system configuration/platform?\r\nThe android emulator's video capabilities are limited and shouldn't really be used for testing code that displays video. I'm not sure this is a Titanium problem specifically as the same issues arise with native development.", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-21T07:08:41.000+0000", "updated": "2012-02-21T07:08:41.000+0000" }, { "id": "425216", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-01T22:36:06.000+0000", "updated": "2017-08-01T22:36:06.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }