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

Reply
 
LinkBack Thread Tools Display Modes
Old 04-30-2010, 06:49 AM   #1 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 6
johnkksmith is on a distinguished road
Default MPMoviePlayerController with MPMovieControlModeHidden

Hi,

I am trying to hide the controls on a MPMoviePlayerController. Using:

moviePlayer.movieControlMode = MPMovieControlModeHidden;

Works fine on my 3GS and in the simulator, however on a 3G (running 3.1.3) it refuses to hide.

Any Suggestions?

Thanks,
John
johnkksmith is offline   Reply With Quote
Old 04-30-2010, 11:24 PM   #2 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 6
johnkksmith is on a distinguished road
Default

anyone?
johnkksmith is offline   Reply With Quote
Old 04-30-2010, 11:30 PM   #3 (permalink)
Knows SQL
 
iisword's Avatar
 
Join Date: Oct 2009
Location: Somewhere the streets are on fire, the sewers are flooded, and the cats are high on catnip
Posts: 529
iisword is on a distinguished road
Default

Quote:
Originally Posted by johnkksmith View Post
anyone?
I'm going to quote and refer you to the MPMoviePlayerController Class Reference. Here's the quote:

Quote:
movieControlMode
The user controls to display. (Deprecated. Use the “Accessing the Movie Properties” property instead.)

@property (nonatomic) MPMovieControlMode movieControlMode
Discussion
You should avoid using this property. It is available only when you use the initWithContentURL: method to initialize the movie player controller object.

Determines the control (if any) the user has over movie playback. Different modes give the user access to different sets of playback controls, some of which allow the user to pause and resume playback and some of which do not.

This property is set to MPMovieControlModeDefault by default. See the “MPMovieControlMode” enumeration for the available control modes.

Availability
Available in iPhone OS 2.0 through iPhone OS 3.1.
__________________
iisword is offline   Reply With Quote
Old 04-30-2010, 11:38 PM   #4 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 6
johnkksmith is on a distinguished road
Default

Quote:
Originally Posted by iisword View Post
I'm going to quote and refer you to the MPMoviePlayerController Class Reference. Here's the quote:
It's depreciated for 3.2, what if I want to target older sdks?

I am using initWithContentURL.
johnkksmith is offline   Reply With Quote
Old 04-30-2010, 11:45 PM   #5 (permalink)
Knows SQL
 
iisword's Avatar
 
Join Date: Oct 2009
Location: Somewhere the streets are on fire, the sewers are flooded, and the cats are high on catnip
Posts: 529
iisword is on a distinguished road
Default

Check the developer documentation in xcode help...There should be an article for movie player there...
__________________
iisword is offline   Reply With Quote
Old 04-30-2010, 11:48 PM   #6 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 6
johnkksmith is on a distinguished road
Default

Quote:
Originally Posted by iisword View Post
Check the developer documentation in xcode help...There should be an article for movie player there...
Did you even read what I wrote? Obviously I have read the documentation to get it to work on a 3GS and in the simulator.
johnkksmith is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, movie, mpmovieplayercontroller, video

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: 332
21 members and 311 guests
Abidullah, baja_yu, cgokey, Domele, Duncan C, Fstuff, gbenna, givensur, guusleijsten, HowEver, iphonedevshani, jbro, JoeRCruso, mdpauley, n00b, newDev, seokwon lee, SLIC, stanny, Steven.C, WheyLabs
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,877
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

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