{ "id": "83348", "key": "TIMOB-6444", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-12-05T17:00:52.000+0000", "created": "2011-12-02T16:35:51.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-12-08T10:30:57.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": "Titanium.Media.createVideoPlayer fails to create video player.\r\nAffects 1.8.0.1 on all Android devices. Does not affect 1.7.5 or iOS (1.8.0.1). Regression.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run videoTest project (attached).\r\n\r\nExpected Result:\r\n\r\nA short movie should play showing a failed slam-dunk attempt.\r\n\r\nActual Result:\r\n\r\nBlank screen (screenshot attached). One log message (attached).\r\n\r\nLog Excerpt:\r\n \r\n12-02 15:11:04.040: W/VideoPlayerProxy(1637): (main) [4462,35857] Player action ignored; player has not been created.", "attachment": [ { "id": "24449", "filename": "device-2011-12-02-162449.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-02T16:35:51.000+0000", "size": 8772, "mimeType": "image/png" }, { "id": "24448", "filename": "log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-02T16:35:51.000+0000", "size": 638, "mimeType": "text/plain" }, { "id": "24451", "filename": "videoTest.zip", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-02T17:25:28.000+0000", "size": 4840108, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Titanium.Media.createVideoPlayer - V8/Rhino - createVideoPlayer fails to create video player", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.0.1.v20111201230657\r\nAndroid Runtimes: V8, Rhino\r\nStudio: 1.0.7.201112011810\r\nOS: OS X Lion\r\nDevices Tested: Android Emulator 2.2, NookColor, Droid 2.2.2, Nexus 2.3.6, Galaxy Tab 10.1 3.1", "comment": { "comments": [ { "id": "174775", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "The app.js indicates that you're using an older version of the KS test for this. Can you update to the newer version? You'll see it works then. The problem with this version of app.js is that it's checking just \"Titanium.Platform.version >= 3.2\" (or whatever). That means it would only work if you had Android 3.2 (or higher) or iOS 3.2 (or higher) installed. That check is there for *iOS* 3.2 and isn't relevant for Android. I removed it entirely recently from KitchenSink because a) we don't even support iOS < 3.2 anymore (at least I don't so); b) in Android, it prevented the video player view from being put on to the window.\r\n\r\nNow that we have (almost) parity with iOS in the VideoPlayer, our (Android's) default for the {{fullscreen}} property is {{false}} just like theirs. That means for {{.play()}} to work, you either need to put the player on the window (like iOS) or set {{fullscreen: true}}, in which case the player is not put on a view but rather starts a whole new activity window when it starts.\r\n\r\nInformation will be included in our release notes when 1.8 is released.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-12-04T10:58:17.000+0000", "updated": "2011-12-05T16:46:10.000+0000" }, { "id": "175379", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-08T10:30:57.000+0000", "updated": "2011-12-08T10:30:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }