iphone - How do I display video from AppDelegate in iOS4 -


Now I think I know about the differences between 3.x and 4, in relation to MPMoviePlaybackController and Need to set the scene and whether it is working in a child's visual controller altogether but despite the following code correct (for me) I still get a blank screen for the duration of the movie I know that this movieplaybackfifishish Plays successfully in the form of a fire Yes.

Do I have to add this to a model or similar at this point? Application: (UIApplication *) Application: Thin Finishing Launching Option: (NSString *) Launch Option {MPVPlayer Controller * Player = [[MP MPV Player Controller Alok] INST WITH CONTENT URL : [NSU file file path: FilePath]]; Player Fullscreen = yes; Player.controlStyle = MPVM Control Styling; [[Player View] Setframe: window.bounds]; [Add windowviewview: [player view]]; [[NSNotificationCenter defaultCenter] addObserver: Self Selector: @Selector (Movie PLAYBackDidFinish :) Name: MPMoviePlayerPlaybackDidFinishNotification Object: Player]; }

MPMoviePlayerController does not have visual property

  movieplayer viewer = [[MPVVPlayer VIPU controller light] initWithContentURL:   [ns url URLWithString: currentChannel.Streamuri]]; [Movie Player Wii Controller Movie Player Set Control Style: MPMVE Control StyleNone]; Movieplayer visual controller.movieplayer.movisartype = MPMV SourceStype streaming; Movieplayer visual controller.movieplayer.shoulderupply = yes; [Movie Player viewer. Movie Player Set Sailingmode: MPVcCachingModeXactFit]; Movieplayer visual controller.view.fr = cgartextmake (0, 0, 480, 320); [Self.view addSubview: moviePlayerViewController.view];  

Note that you may want to replace the movieSourceType MPMovieSourceTypeFile or MPMovieSourceTypeUnknown. The above code which is 100% of the need to play a movie (a streaming channel in my case)


Comments