views:

437

answers:

2

I have a QTMovieView set up as an IBOutlet. I want to play the video in full screen. Which method allows this?

A: 

Does this help?

Here's a pretty detailed list of all the methods.

Ólafur Waage
Er. Monobjc? The tags clearly say that the questioner is using Objective-C, not C#. Better to use http://developer.apple.com/documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovieView_Class/ for the class, and http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/occ/instm/NSView/enterFullScreenMode:withOptions: for the enterFullScreenMode:withOptions: method.
Peter Hosey
Does enterFullScreenMode:withOptions: also give me the movie controls that you get when you play a movie in full screen mode in QuickTime Player?
hekevintran
A: 

See QTKit sample code at: http://developer.apple.com/mac/library/samplecode/MyMediaPlayer/listing3.html specifically the "goFullScreen" method.

geowar