• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: playing a quicktime movie in a QTMovieView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: playing a quicktime movie in a QTMovieView


  • Subject: Re: playing a quicktime movie in a QTMovieView
  • From: "Shawn Erickson" <email@hidden>
  • Date: Mon, 16 Oct 2006 16:16:35 -0700

On 10/16/06, Ivan Kourtev <email@hidden> wrote:
Hi,

I have been unsuccessfully trying to load a QT movie and play it into
a QTMovieView.  No matter which initialization method I try to use
(for QTMovie) it returns a nil.  What am I doing wrong?

Currently I have this -- but like I said, I've tried most appropriate
initializers and can't get it to work.

QTMovie *qtmov = [[QTMovie alloc] initWithFile:@"/Volumes/BigD/Users/
test/movie.mov"
                                          error:nil];

Did you try getting an error back from those methods to see why it is failing to work?

NSError* error = nil;
QTMovie* qtmov = [[QTMovie alloc] initWithFile:@"movie.mov" error:&error];
if (error != nil) {
  NSLog(@"%@", [error localizedDescription]);
}

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >playing a quicktime movie in a QTMovieView (From: Ivan Kourtev <email@hidden>)

  • Prev by Date: Re: playing a quicktime movie in a QTMovieView
  • Next by Date: RE: playing a quicktime movie in a QTMovieView
  • Previous by thread: Re: playing a quicktime movie in a QTMovieView
  • Next by thread: Two TreeControllers, one ArrayController and the ContentSet binding...
  • Index(es):
    • Date
    • Thread