small medium large xlarge

09 Jul 2008, 15:40
Francesco Germinara (2 posts)

Hi Bill, I tried to rebuild the MovieLayer sample downloaded from your code source, I’m able to listen correctly the audio of the movies but nothing is show on the view (No poster frame, no title and no QTMovieLayer).

Where I’m making error ?

Kind regards, Francesco.

09 Jul 2008, 16:23
Francesco Germinara (2 posts)

I solved implementing this call

  CGImageRef image = (CGImageRef) [movie posterCGImage];

  [movieLayer setBounds:CGRectMake(0.0f, 0.0f, CGImageGetWidth(image), CGImageGetHeight(image))];

in your - (CALayer *)movieLayerWithMovie:(QTMovie *)movie named:(NSString *)movieName method implementation.

You must be logged in to comment