On Wed, Apr 13, 2011 at 12:15 PM, Jeffrey Walton <noloa...@gmail.com> wrote: > Hi All, > > I'm trying to play a M4V acquired from iTunes [1]. The movie is local > and was transferred into my sandbox using iTunes via file sharing. > > Working from a Hillegass example ('Playing Movie Files', p. 294), the > player appears to load/display but does not play. > > Unfortunately, PLAY is not documented [2]. In addition, I can't find a > delegate (as with other controllers) and there are no notifications > covering errors [2]. Finally, the error log is for network streams > [2]. > > How does one determine errors when using MPMoviePlayerController? > > More philosophical: why are the APIs so inconsistent? Why is there no > readily apparent way to consistently retrieve error information > (Windows has GetLastError and Linux has errno)? > The problem appears to be with the size of the M4V. For example, Hillegass's Chapter 20 sample ('Layer.m4p') at 2.2 MB plays as expected. The Simpsons episode, at 230 MB, does not play. The player moves from a 'ready' state to a 'playing' state and then immediately back to a 'ready' state without a Finished notification or error.
If anyone has experienced similar, work arounds would be appreciated. So far, I have only figured out how to crash Xcode while the app was under the debugger. Jeff _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com