2006-06-02

NSMovieView vs QTMovieView

I mentioned in my previous post that you should use QTMovieView rather than NSMovieView because QTMovieView is so much more efficient.

There is, however, one reason to use NSMovieView, and it's the controller thumb:

A window with an NSMovieView, showing off its hourglass-shaped controller thumb.
NSMovieView.

A MoviePlayer 2.5.1 window, showing off QuickTime 6.0.3's controller thumb.
MoviePlayer 2.5.1 with QuickTime 6.0.3.

A window with a QTMovieView, showing off its plain round controller thumb.
QTMovieView.

Does anyone know how I can get QTMovieView to use the same controller thumb that NSMovieView and QuickTime 6 use?

And no, the “Speed” field and progress bar are not part of the QTMovieView.

UPDATE 2006-06-10: wootest says that you the above is the editing controller, so you get it by making the movie editable. I've tried it and it works. The code is:

[movie setAttribute:[NSNumber numberWithBool:YES] forKey:QTMovieEditableAttribute];

Thanks!

Technorati tags: .

0 comments:

Post a Comment

<< Home