/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #ifdef USE_TI_MEDIA #import "TiUIView.h" #import #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2 @interface TiMediaVideoPlayer : TiUIView { @private MPMoviePlayerController *controller; UIActivityIndicatorView *spinner; BOOL loaded; } -(id)initWithPlayer:(MPMoviePlayerController*)controller proxy:(TiProxy*)proxy loaded:(BOOL)loaded_; -(void)setMovie:(MPMoviePlayerController*)controller; -(void)movieLoaded; @end #endif #endif