Hi all,
I'm using the standard Apple moviePlayer sample code and have customized it to play only podcasts like:
-(IBAction)playPodcast:(id)sender{
movieURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@", podcastURI]];
if (movieURL)
{
if ([movieURL scheme]) // sanity check on the URL
{
// initialize a new MPMo...
I am trying to run a streaming video in MPMoviePlayerController. When I was trying some urls like http://code.agilephil.com/fox.m4v it was working. But when I try some other urls like one in our remote server, it doesnt work and in Console it says Playback stopped.
Could anyone help me please?
...
Hello,
I have an app that has multiple tabs and in one of those tabs I load a page which contains jPlayer (HML5 audio player) in order to play background music for the user. On another tab I have links to video files. When the music is playing on one tab and the person clicks on the video link it initially starts up in portrait mode and...
Hello All
iOS4 - iPhone 4 & 3GS
I have a Table based application using Custom UITableViewCell's. The custom Cell has a UIButton within it for playing a movie file. At the moment I have Arrays to populate the information within each cell depending on the Indexpath. All information within the Cell is placed within cellForRowAtIndexPath a...
I'm looking to build some customs controls for video playback. I've had a look at the documentation and it looks like implementing MPMediaPlayback will do the trick.
Does anyone have an example of this or am I barking up the wrong tree...
Cheers
Niall
...
According to the MPMoviePlayerController reference:
This class plays any movie or audio
file supported in iOS. This includes
both streamed content and fixed-length
files. For movie files, this typically
means files with the extensions .mov,
.mp4, .mpv, and .3gp and using one of
the following compression standards:
...
When I play a video doing this:
NSString *videoFilepath = [[NSBundle mainBundle] pathForResource:@"bacon" ofType:@"mov"];
NSURL *videoURL = [NSURL fileURLWithPath:videoFilepath];
MPMoviePlayerController *movie;
movie = [[MPMoviePlayerController alloc] initWithContentURL:videoURL];
[movie play];
on 3.2, it works pef...
Hi! I have a problem with MPMoviePlayerViewController and it's property repeatMode. It's stated that setting it to a MPMovieRepeatModeOne value will cause player to repeat playback. I use following code to play video in a loop but it just stops after the end.
MPMoviePlayerViewController *mpViewController =[[MPMoviePlayerViewControlle...
I'm creating an application to scan barcodes and provide video information on the scanned product. I'm running into the problem where the MPMoviePlayerViewController ends up giving me a white screen if a video url is not valid. It should just go back to the previous screen if no video is available. How do I handle this exception? I can't...
I'm using MPMoviePlayerController to play few videos.
But unfortunately, one of the video whose extention is 3gp is in bad format.
On click of a button, the video is played and using some calculation, different videos are selected.
When the badly formatted video is selected its displaying a message "The movie format is not supported" whi...
Hi,
I have a music player implemented in iphone (sdk 4) and it works both with streaming of Mp3 (Transcoded on the fly) or raw progressive download.
Is there anyway to make the progressivedownloaded content (which I dont directly control) to be cached so it doesn redownload the whole content?
Or Is there a global cache setting to contr...
In iPhone 3.1 I used the following code to play a movie:
moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:url];
moviePlayer.movieControlMode = MPMovieControlModeDefault;
moviePlayer.backgroundColor = [UIColor blackColor];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playbackDidFinish:) name:...
I want to use the UIViewController MediaPlayer additions in an iPhone 4 static library.
The .h of my view controller subclass imports <MediaPlayer/MediaPlayer.h>. However, when I use presentMoviePlayerViewControllerAnimated in the .m I get a compiler warning:
'MyViewController' may not respond to '-presentMoviePlayerViewControllerAnima...
I have a MPMoviePlayerController in my project.
Documentation says that next call:
moviePlayer.initialPlaybackTime = time;
starts at the closest key frame prior to the provided time.
Is it possible to start playing video from the specified time (not from the nearest key frame)?
...
I use MPMoviePlayerViewController to make a moviePlayer. But, when I click the "done" button, or cancel the player, the memory used always increases. Why??
...
I release the MPMoviePlayerController but the memory allocation and the living objects are sill higher than before the object allocation. However if i reallocate the object it doesn't leak more.
My application actually uses alot of media files and the memory consumption it's high. I would like to free up completely the unneeded memory to...
My application play video from internet using MPMoviePlayer.
I should display: transferred data size and average data transfer speed (for current playing video). I cant get this information from MPMoviePlayer. So I decide to monitor network traffic of my app and use this information.
My question is:
How to track the network usage of m...
I'm streaming a movie on the iPad. If I just load a mp4 file, the player doesn't autostart - but with the example m3u8, it insists on autostarting. Has anyone encountered this? Am I doing something wrong?
- (id)initWithVideo:(VideoDO*)video frame:(CGRect)rect {
NSURL* videoURL = [NSURL URLWithString:@"http://devimages.apple.com/iph...
Hello there,
i was having problems to make the MPMoviePlayerController controls disappear.
I tried to do it via:
...
MPMoviePlayerController *mplayer;
[mplayer setControlStyle:MPMovieControlStyleNone];
...
The problem is however that the controls appear for a brief second. I don't want to make my app look unprofessional so making th...
Hi everyone!
I use MPMoviePlayerController to play some Video and Audio streams on iPhone.
Sometimes some steams aren't available, so on iPhone OS 3.1 I get 4 "This movie could not be played" alerts, even if I catch all the notifications.
Can anyone recommend me how to prevent this from happening?
Thanks in advance!
...