{ "id": "61454", "key": "TIMOB-822", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:21.000+0000", "created": "2011-04-15T02:37:12.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "crash", "defect", "ios", "ipad", "movieplayer" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:21.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}

here's the code:

\n

1) if fullscreen is set after win.open the app crashes
\n2) if you hit the fullscreen button on the video, the app\ncrashes

\n

var win = Titanium.UI.createWindow({ backgroundColor:'#fff'\n});
\nvar mymovie = Ti.Media.createVideoPlayer({
\ncontentURL: 'http://www.txstate.edu/prospectiveflash/VIDEO/Rising_Stars/Christin...,
\nbackgroundColor:'#111',
\nmovieControlMode:Ti.Media.VIDEO_CONTROL_FULLSCREEN,
\nscalingMode:Ti.Media.VIDEO_SCALING_ASPECT_FIT
\n});

\n

mymovie.addEventListener('fullscreen', function(e) {
\nTi.API.info('nothing special in here');
\n}); win.add(mymovie);
\nmymovie.play();

\n

win.open();

\n

mymovie.fullscreen = true;

{html}", "attachment": [ { "id": "17884", "filename": "822.zip", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:12.000+0000", "size": 8749, "mimeType": "application/zip" } ], "flagged": false, "summary": "movie crash on ipad using fullscreen", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124133", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

valid, needs testcase.

\n

repro'd using device and build 1.4.1.e4f2e5. Console and\ncrashlogs attached.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:12.000+0000", "updated": "2011-04-15T02:37:12.000+0000" }, { "id": "124134", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is related to an Apple bug. Filing with radar right\nnow.

\n

For now, we can prevent the crash - but not any underlying\ncauses. On iPad, clicking the \\\\ button on the far right of the\ncontrol bar WILL cause problems, no matter what we\ntry and do to alleviate them.

\n

Note that these issues ONLY occur with remote videos.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:13.000+0000", "updated": "2011-04-15T02:37:13.000+0000" }, { "id": "124135", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [a57c96c15cf94cb9202171a81298b4c418437433])\n[#822\nstate:open] Fix for video player crash - note that the underlying\nproblem remains. It's an Apple bug. \nhttp://github.com/appcelerator/titanium_mobile/commit/a57c96c15cf94...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:13.000+0000", "updated": "2011-04-15T02:37:13.000+0000" }, { "id": "124136", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

confirmed no longer crashing

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:13.000+0000", "updated": "2011-04-15T02:37:13.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }