{ "id": "63434", "key": "TIMOB-2802", "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": [ { "id": "12087", "description": "", "name": "Sprint 2011-47", "archived": true, "released": true, "releaseDate": "2011-11-28" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-05T16:27:36.000+0000", "created": "2011-04-15T03:29:55.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "deprecated-1.6.0", "deprecated-1.8.0", "module_media", "qe-testadded" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [ { "id": "14847", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85652", "key": "TIMOB-7457", "fields": { "summary": "Android: Titanium.Media.VideoPlayer: movieControlStyle not deprecated", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-10T06:07:08.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
It seems that movieControlStyle is NOT depricated and that\r\nmediaControlStyle does not work within\r\nTitanium.Media.VideoPlayer.
Tested on iOS with 1.4.2, 1.5.1 and 1.6
\r\nThis works:
\r\nvar win = Titanium.UI.createWindow({
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n title: 'Test'\r\n });
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\nvar activeMovie = Titanium.Media.createVideoPlayer\r\n\r\n
\r\n({\r\n sourceType: Ti.Media.VIDEO_SOURCE_TYPE_FILE,\r\n url: 'movie.mp4',\r\n backgroundColor:'#000',\r\nscalingMode: Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\nmovieControlStyle: Titanium.Media.VIDEO_CONTROL_NONE\r\n});
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\nwin.add(activeMovie);\r\n\r\n
\r\nwin.open();\r\n
This doesn't:
\r\nvar win = Titanium.UI.createWindow({
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n title: 'Test'\r\n });
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\nvar activeMovie = Titanium.Media.createVideoPlayer\r\n\r\n
\r\n({\r\n sourceType: Ti.Media.VIDEO_SOURCE_TYPE_FILE,\r\n url: 'movie.mp4',\r\n backgroundColor:'#000',\r\nscalingMode: Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\nmediaControlStyle: Titanium.Media.VIDEO_CONTROL_NONE\r\n});
\r\n
\r\n\r\n\r\n\r\n
\r\nwin.add(activeMovie);\r\n\r\n
\r\nwin.open();\r\n
One property is for 3.1.x, one property is for later iOS. Need\nto make sure that instead of cross-translating (which causes\nissues) we ignore and print deprecation warnings.