{ "id": "63535", "key": "TIMOB-2903", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-14T03:40:59.000+0000", "created": "2011-04-15T03:32:31.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "bug", "ios", "module_media", "qe-review", "qe-testadded", "videoplayer" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-10T06:07:27.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}

If you start a video in fullscreen, and then click done and\r\nresize the video, the app will often freeze or crash.

\r\n

Specifically if the size does not match the video\r\nresolution.

\r\n

Ticket Reference: http://developer.appcelerator.com/helpdesk/view/66451

\r\n

Test Code:

\r\n
\r\n\r\n win = Titanium.UI.createWindow({
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\ntitle:'Test'\r\n
\r\n
\r\n\r\n\r\n
\r\n});\r\n\r\n
\r\nvar label = Ti.UI.createLabel({\r\n\r\n
\r\n
\r\ntop: 30,\r\nwidth:100,\r\nheight:30,\r\ntext: 'start video',\r\nbackgroundColor:'white'\r\n
\r\n
\r\n\r\n\r\n
\r\n});\r\nwin.add(label);\r\n\r\n
\r\nlabel.addEventListener('singletap', function(e){\r\n\r\n
\r\n
\r\nactiveMovie = Titanium.Media.createVideoPlayer({\r\n    width: 640/4, //if the aspect is not video default, then you'll get an exception\r\n    height: 360/4, //if the aspect is not video default, then you'll get an exception\r\n    fullscreen: true, //this one must be true, or the video must be resized for the exception\r\n    autoplay: false,\r\n    url: 'movie.mp4',\r\n    backgroundColor:'#000',\r\n    movieControlMode:Ti.Media.VIDEO_CONTROL_DEFAULT,\r\n    scalingMode:Ti.Media.VIDEO_SCALING_ASPECT_FIT\r\n});\r\nwin.add(activeMovie);\r\n\r\nactiveMovie.addEventListener('complete', function(e){\r\n    Ti.API.info('movie finished playing');\r\n    if (activeMovie.playing == true) {\r\n        Ti.API.info('movie is playing');\r\n        activeMovie.stop();\r\n    } else {\r\n        Ti.API.info('movie is stopped');\r\n    }\r\n    activeMovie.fullscreen = false;\r\n    win.remove(activeMovie);\r\n    Ti.API.info('movie onComplete finished');\r\n});\r\n\r\nactiveMovie.play();\r\n
\r\n
\r\n\r\n\r\n
\r\n});\r\n\r\n
\r\nwin.open();\r\n
{html}", "attachment": [], "flagged": false, "summary": "iOS: Video resize from fullscreen crash", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129670", "author": { "name": "konstantin", "key": "konstantin", "displayName": "Konstantin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I need this bug to be fixed, is there any timeline?

{html}", "updateAuthor": { "name": "konstantin", "key": "konstantin", "displayName": "Konstantin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:32.000+0000", "updated": "2011-04-15T03:32:32.000+0000" }, { "id": "129671", "author": { "name": "konstantin", "key": "konstantin", "displayName": "Konstantin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Why do I pay for support? Fix it or tell me which file I have to\nfix by myself.

{html}", "updateAuthor": { "name": "konstantin", "key": "konstantin", "displayName": "Konstantin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:32.000+0000", "updated": "2011-04-15T03:32:32.000+0000" }, { "id": "195092", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Jira bug review - I cannot reproduce the issue running latest 2.1 CI SDK build.\r\nClosing bug.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T15:35:48.000+0000", "updated": "2012-05-16T15:35:48.000+0000" }, { "id": "207905", "author": { "name": "kasanbekov", "key": "kasanbekov", "displayName": "Kanat Asanbekov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Tested with:\r\nTitanium Studio, build: 2.1.1.201207121732\r\nTitanium SDK: 2.2.0.v20120716092112\r\nDevices: iPod Newton 4.3.5, iPhone 4S 5.1", "updateAuthor": { "name": "kasanbekov", "key": "kasanbekov", "displayName": "Kanat Asanbekov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T16:58:03.000+0000", "updated": "2012-07-16T16:58:03.000+0000" }, { "id": "214278", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label\r\n", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T03:32:44.000+0000", "updated": "2012-08-14T03:32:44.000+0000" }, { "id": "283476", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/5021\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T06:07:27.000+0000", "updated": "2013-12-10T06:07:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }