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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 01-28-2010, 04:52 AM   #1 (permalink)
Raj
 
Join Date: Jan 2010
Location: Chandigarh
Age: 25
Posts: 14
rajender_sharma is on a distinguished road
Send a message via Skype™ to rajender_sharma
Default Loop a Video in MPMoviePlayerController..

can anyone tell me that how we can put a video in a continues loop...

is this possible to put a video in a loop......

if yes then please give me any example.....

thanks
rajender_sharma is offline   Reply With Quote
Old 01-28-2010, 03:37 PM   #2 (permalink)
Super Moderator
 
Join Date: Oct 2009
Location: San Diego, CA
Posts: 1,586
JasonR is on a distinguished road
Default

I don't have an example of it, but the documentation says that the notification: MPMoviePlayerContentPreloadDidFinishNotification is posted when the movie is over. You could just play it again in the notification handler.
JasonR is offline   Reply With Quote
Old 01-29-2010, 12:53 AM   #3 (permalink)
Raj
 
Join Date: Jan 2010
Location: Chandigarh
Age: 25
Posts: 14
rajender_sharma is on a distinguished road
Send a message via Skype™ to rajender_sharma
Default THANKS FOR UR REPLY

Quote:
Originally Posted by JasonR View Post
I don't have an example of it, but the documentation says that the notification: MPMoviePlayerContentPreloadDidFinishNotification is posted when the movie is over. You could just play it again in the notification handler.



i had already used all these notifications and functions but these are not useful
because the movieplayer currently running is stoped and hides itself and displays the view on which it is running..... after 1 or 2 seconds it ran again but i want to run the video in a continues loop without any break or flash....
i also tried timer control but it also doesn't work.......
rajender_sharma is offline   Reply With Quote
Old 09-11-2011, 08:49 PM   #4 (permalink)
App Developer
 
mongoose250's Avatar
 
Join Date: Dec 2008
Location: Indiana
Posts: 25
mongoose250 is on a distinguished road
Send a message via ICQ to mongoose250 Send a message via AIM to mongoose250
Default

myMoviePlayer.repeatMode = MPMovieRepeatModeOne; // LOOPS MOVIE FOREVER
mongoose250 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 353
7 members and 346 guests
.Snipe, BSH, givensur, guusleijsten, NSString, Paul Slocum, SillyHoney
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:28 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0