[TIMOB-822] movie crash on ipad using fullscreen
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | crash, defect, ios, ipad, movieplayer |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:37:12.000+0000 |
Updated | 2011-04-17T01:54:21.000+0000 |
Description
here's the code:
1) if fullscreen is set after win.open the app crashes
2) if you hit the fullscreen button on the video, the app
crashes
var win = Titanium.UI.createWindow({ backgroundColor:'#fff'
});
var mymovie = Ti.Media.createVideoPlayer({
contentURL: 'http://www.txstate.edu/prospectiveflash/VIDEO/Rising_Stars/ChristinaConlee.m4v'">http://www.txstate.edu/prospectiveflash/VIDEO/Rising_Stars/Christin...,
backgroundColor:'#111',
movieControlMode:Ti.Media.VIDEO_CONTROL_FULLSCREEN,
scalingMode:Ti.Media.VIDEO_SCALING_ASPECT_FIT
});
mymovie.addEventListener('fullscreen', function(e) {
Ti.API.info('nothing special in here');
}); win.add(mymovie);
mymovie.play();
win.open();
mymovie.fullscreen = true;
Attachments
File | Date | Size |
---|---|---|
822.zip | 2011-04-15T02:37:12.000+0000 | 8749 |
valid, needs testcase.
repro'd using device and build 1.4.1.e4f2e5. Console and crashlogs attached.
This is related to an Apple bug. Filing with radar right now.
For now, we can prevent the crash - but not any underlying causes. On iPad, clicking the \\ button on the far right of the control bar WILL cause problems, no matter what we try and do to alleviate them.
Note that these issues ONLY occur with remote videos.
(from [a57c96c15cf94cb9202171a81298b4c418437433]) [#822 state:open] Fix for video player crash - note that the underlying problem remains. It's an Apple bug. http://github.com/appcelerator/titanium_mobile/commit/a57c96c15cf94cb9202171a81298b4c418437433"> http://github.com/appcelerator/titanium_mobile/commit/a57c96c15cf94...
confirmed no longer crashing