{ "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:
\n1) if fullscreen is set after win.open the app crashes
\n2) if you hit the fullscreen button on the video, the app\ncrashes
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});
mymovie.addEventListener('fullscreen', function(e) {
\nTi.API.info('nothing special in here');
\n}); win.add(mymovie);
\nmymovie.play();
win.open();
\nmymovie.fullscreen = true;
valid, needs testcase.
\nrepro'd using device and build 1.4.1.e4f2e5. Console and\ncrashlogs attached.
This is related to an Apple bug. Filing with radar right\nnow.
\nFor 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.
\nNote that these issues ONLY occur with remote videos.
(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...
confirmed no longer crashing