MPMoviePlayerController
MPMoviePlayerController
- Subject: MPMoviePlayerController
- From: Jeffrey Walton <email@hidden>
- Date: Wed, 13 Apr 2011 12:15:54 -0400
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)?
Jeff
[1] http://www.apple.com/itunes/charts/tv-shows/the-simpsons/lost-verizon/
[2] http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMoviePlayerController_Class/Reference/Reference.html
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden