Questions tagged [mpmovieplayercontroller]

A movie player (of type MPMoviePlayerController) manages the playback of a movie from a file or a network stream. Playback occurs in a view owned by the movie player and takes place either fullscreen or inline. You can incorporate a movie player’s view into a view hierarchy owned by your app, or use an MPMoviePlayerViewController object to manage the presentation for you.

This class plays movie or audio file supported in iOS. This includes both streamed content and fixed-length files.

This class supports programmatic control of movie playback, and user-based control via buttons supplied by the movie player.

The MPMoviePlayerController class generates numerous notifications to keep your application informed about the state of movie playback.

The MPMoviePlayerController class is formally deprecated since iOS 9.

Supported format for MPMoviePlayerController class are below:

Apple documentation: Supported format for video/audio

2218 questions
0
votes
1 answer

Sometimes moviefile (.mov) sticks on 3.2 ipad

I am using MPMoviePlayerController for playing movie in iPad. Some times movie gets stuck. This happening only in 3.2 iPad. This defects appears randomly.
shakthi
  • 1,597
  • 2
  • 17
  • 29
0
votes
1 answer

How can i set title for MPMoviePlayerController

In my application i want to set the title for the video (At the time of video playing). How do I do this?
kanmani
  • 671
  • 1
  • 10
  • 28
0
votes
2 answers

Is there a possibility to play 2 videos simultaneously by url

Before start my task i want to know the possibilities for playing 2 videos simultaneously(together) by using url. Code that i'm tried for play the video in a partial screen: player = [[MPMoviePlayerController alloc] initWithContentURL:[self…
kanmani
  • 671
  • 1
  • 10
  • 28
0
votes
1 answer

how to add video to tableview

I need to add (show all my video file)video file in row of Tableview and play it.but i don't know how to do it! can you help me (I need to sample code) thank you for help.
0
votes
3 answers

iPhone MPMoviePlayer in Landscape Mode

I want to show an MPMoviePlayer in landscape mode on launch of the application. Now it starts in portrait mode. There are some codes which forces application to launch in landscape mode. But it is said that these code segments belong to private api…
gurkan
  • 3,457
  • 4
  • 25
  • 38
0
votes
1 answer

how to play the video in iphone app from the server

I want to play the video in iPhone App from a server. I have kept my video ON FTP and I am accessing it using: http://www.mysebsiteurl.com/Foldername/videofilename.m4v But It's not working and if I am trying to play any youtube video it works. So,…
Priyanka
  • 511
  • 8
  • 24
0
votes
1 answer

MPMoviePlayerController referer

We host a website with some videos, and we're aiming to restrict these videos so only an specific referer can access to them. We were using secdownload, but seems to be a pain with HTTP Live Streaming. In our iPhone APP, we're trying to customize…
0
votes
1 answer

Cant view a parsed m4v link in MPMoviePlayerViewController

I am parsing this xml file here: http://itunes.apple.com/us/rss/toptvepisodes/limit=10/xml. I am getting the preview link from the xml file, but for some reason the url wont play in my MPMovieViewController. An example preview link would be this:…
max_
  • 24,076
  • 39
  • 122
  • 211
0
votes
2 answers

Showing a YouTube Movie in MPMoviePlayerViewController - iPhone

I am using the following code to try and show a YouTube movie in my app. The Video player appears, shows the controls for a second, and then the movie player retracts. The app does not crash. Any ideas how to make this…
Chris
  • 5,485
  • 15
  • 68
  • 130
0
votes
0 answers

can't play video on local area network on ios

I can play video over web the network but can't over the local area network, my code is bellow. - (IBAction)playAction:(id)sender { // cant play //self.url = [NSURL URLWithString:@"https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"]; …
0
votes
1 answer

MPMoviePlayerViewController Video duration

I have no problem playing the video, just cant seem to get my label to update with the video's duration. (entire video length). The following method works fine using AVAudioPlayer: - (void) updateDurationLabel { NSURL *url = /* not an issue…
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
0
votes
1 answer

MPMoviePlayerControll doesn't detect touch when in fullscreen mode

I have subclassed MPMoviePlayerController... @interface CustomMoviePlayerController : UIViewController { NSURL *movieUrlPath; MPMoviePlayerController *mp; ... I also have iPad application (with splitView). On the right side in the…
1110
  • 7,829
  • 55
  • 176
  • 334
0
votes
2 answers

I don't have AirPlayFeature

I have just installed new xcode with sdk 4.3b because I need 'airPlay' feature in my current project which is based on sdk 4.2. But I open my project and type my MPMoviePlayerController object.... mpObject.??? ... but here I don't have…
1110
  • 7,829
  • 55
  • 176
  • 334
0
votes
1 answer

MPMoviePlayerController Done button unresponsive in Landscape mode

All, The Done button in MPMoviePlayerController dismisses the control in portrait mode. However, both the Done and Toggle full screen button become unresponsive when i rotate to landscape. My app is a very very simple app and just has…
user598789
  • 329
  • 1
  • 2
  • 17
0
votes
4 answers

Preventing view from unloading in iOS SDK?

I've built an app that uses a UITableView inside a UINavigationController, inside a UITabBarController. Every entry in the UITableView opens up a view that contains some basic text, buttons, but most importantly, an MPMoviePlayerController that…