Questions tagged [mpmovieplayer]

iOS API : A movie player (of type MPMoviePlayerController) that manages the playback of a movie from a file or a network stream. MPMoviePlayerController was replaced in iOS 8 by AVKit classes such as `AVPlayerViewController`, and is formally deprecated in iOS 9

377 questions
4
votes
3 answers

Can MPMoviePlayerViewController return error if video file is corrupt?

I am downloading the video and saved it in some directory so user can play that file afterwards. It works well in all the cases like when download stopped and resume again due to some network fluctation. But sometimes file downloaded completely but…
4
votes
1 answer

MPMoviePlayerViewController overlay controls NOT responding to touches after reuse

This is driving me crazy. It's simple, I have a MPMoviePlayerViewController and want to display a movie fullscreen. Using ARC over iOS 5.0+ I want to make this player app-wide reusable. The first time the movie plays, it covers the whole screen…
Gaston Morixe
  • 839
  • 2
  • 10
  • 21
3
votes
1 answer

MPMoviePlayer error loading file

I am trying to use the MPMoviePlayer to play a simple movie and I keep getting this error in the console(but the movie is played): My xcode version is 4.3.1. 2012-03-24 14:51:49.488 european_culture[450:17a07] Error loading…
ssongahlee
  • 91
  • 1
  • 10
3
votes
0 answers

Can MpMoviePlayer get it's data from an NSInputStream

I have an iPad app which has a network connection from another iPad. On the client iPad, I want to be able to take data from a NSInputStream (which comes from the server iPad), and play it in MpMoviePlayer as it downloads from the server iPad. I…
3
votes
2 answers

Set ContentURL of MPMoviePlayerController twice

I create an embedded MPMoviePlayerController thusly inside my loadView method: self.moviePlayerController = [[[MPMoviePlayerController alloc] init] autorelease]; // add to view, setup moviePlayerController's view frame, etc And I can later load a…
3
votes
1 answer

iOS MPMoviePlayer issue on iPod touch 2G

I have an universal application which plays several imbedded movies. All works fine on my iPad with iOS 4.2 and on my iPhone 4 with iOS 4.2.1. However on my iPod touch 2G with iOS 4.2.1, the movies don't play. There is no crash or other interruption…
macgeezer
  • 484
  • 1
  • 6
  • 15
3
votes
1 answer

MPMoviePlayerViewController problem with presentMoviePlayerViewControllerAnimated

the problem is that if the movie has finished, the dismissMoviePlayerViewController is called automatically. This means that the MoviePlayerViewController disappear, but I want he should be on screen if the movie has finished and only the 'Done'…
3
votes
1 answer

How to output video on external display with controls on ipad?

Currently when outputting video to an external display from the iPad, it moves the controls and all to the external display. This is not useful because you cannot control the movie while the controls are on the external display. Here are some code…
Kaili
  • 1,208
  • 9
  • 20
3
votes
1 answer

Play video's audio track when enter background?

I'm using mpmovieplayer to play video on ios 4, and I want to keep the audio playing when my app enter background, but it doesn't work. I thing it's because video player use GPU to render video on screen and this is not allowed by apple when app…
Seraph
  • 31
  • 2
3
votes
1 answer

How to present MPMoviePlayerViewController from a UITabBarController?

I have a view controller that's been added to a UITabBarController. In this view controller I have a button that opens up a movie using MPMoviePlayerViewController. When I play the movie, the top navigation bar is still overlayed on top of the…
Calvin
  • 8,697
  • 7
  • 43
  • 51
3
votes
1 answer

How to get thumbnail photo from m3u8 live stream on ios?

Is there any way to get stream thumbnail photo from periscope or any other .m3u8 video stream on ios? I tried to download video with requestThumbnailImagesAtTimes:timeOption: but cant get the thumbs, any suggestion? Thanks
AykutE
  • 344
  • 3
  • 15
3
votes
1 answer

problem using MPMovieController in iPhone SDK 4.0

I was using MPMoviePlayer to play a short video in my app with no problems in SDK 3.1.3. I made the changes to the code in SDK 4 but the video is not playing. I just get a black screen and audio. The Apple Dev Center doesnt have any sample code for…
ayush
  • 61
  • 5
3
votes
1 answer

XCode - Getting videos to play in tableview cells like Vine & Instagram

I'm trying to get a vine type video feed working in a tableview. I want the videos to play one at a time inside the tableview cell just like Vine and Instagram. Does anyone know how to do this? I'm using MPMoviePlayer. Thanks ---- UPDATE ---- I've…
CaptainJ
  • 157
  • 3
  • 11
3
votes
1 answer

mpmovie player didexitfulscreen notification not working in ios

I am loading a youtube video in a webview. As my app is a online radio app, the radio plays in the background. When I click on the webview it redirects the video in full screen mode in mpmovieplayer. What I want is when someone click on the webview…
3
votes
2 answers

Display Thumbnail UIImageView

After requesting to generate my thumbnail how would I show it in a UIImageView? NSURL *videoURL = [NSURL URLWithString:_videoPathString] ; moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:videoURL]; [moviePlayer…
user3314229
1 2
3
25 26