Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-822] movie crash on ipad using fullscreen

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:21.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelscrash, defect, ios, ipad, movieplayer
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:37:12.000+0000
Updated2011-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

FileDateSize
822.zip2011-04-15T02:37:12.000+00008749

Comments

  1. Thomas Huelbert 2011-04-15

    valid, needs testcase.

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

  2. Stephen Tramer 2011-04-15

    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.

  3. Jeff Haynie 2011-04-15

    (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...

  4. Thomas Huelbert 2011-04-15

    confirmed no longer crashing

JSON Source