Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-15-2008, 09:16 AM   #4 (permalink)
superuser
Registered Member
 
Join Date: Aug 2008
Posts: 27
Send a message via AIM to superuser
Default

You've probably figured this out already but this plays a movie, or mp3 from a server but I am not sure it fits your definition:

-(NSURL *)movieURL
{
if (mMovieURL == nil)
{
id path = @"http://www.yourserver.com/iphone/yourmovie.m4v";
mMovieURL = [NSURL URLWithStringath];
[mMovieURL retain];
}
return mMovieURL;
}

(I got this from another post - not my code)

I have not tested this on an iPhone but only on the simulator so I can't comment about performance issues.

One thing I don't like, when playing mp3 it displays a Quicktime logo and the url of the file. I would like to be able to define an image to use as a background or minimize the instance of MPMoviePlayer so I can show and image.

My only solution thus far is to create a slideshow of images as a movie and just treat it as a movie but that increases the size from a 6Mb sound file to a 84Mb movie file... all for the sake of images.
superuser is offline   Reply With Quote
 

» Advertisements
» Online Users: 754
19 members and 735 guests
AppAnnex, carpi, Desert Diva, dfvdan, Domele, ghz.rai, her-ur, jjig99, juggler, kiancheong, melmoup, nathanrose, nidie, Pavel Volobuev, phackdat, sneaky, Tambourin, V_SC&, Xaron
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,836
Threads: 89,209
Posts: 380,643
Top Poster: BrianSlick (7,129)
Welcome to our newest member, abbylowin
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:37 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.