• 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: Draw NSView over QTMovieView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draw NSView over QTMovieView


  • Subject: Re: Draw NSView over QTMovieView
  • From: "Mr. Gecko" <email@hidden>
  • Date: Tue, 20 Jan 2009 17:12:38 -0600

I could do that, but how can I move the content?

On Jan 20, 2009, at 5:10 PM, Andy Lee wrote:

How about having two windows with different styles, and moving the content view from one to the other when you switch between fullscreen and regular modes?

--Andy

On Jan 20, 2009, at 5:40 PM, Mr. Gecko wrote:

Yeah I tried that but I would like to have the window the same style when it's out of full screen. But you can't change styles as I found out...

On Jan 20, 2009, at 3:17 PM, douglas welton wrote:

Mr. Gecko,

What code are you using to accomplish "fullscreen" mode? if you are using NSView's -enterFullScreenMode:withOptions: that method is not available on Tiger.

Have you considered using a borderless window with a frame that matches the monitor being used for display? This would allow you to do an overlay window without any issues and it can be back- ported to work on Tiger as well.

regards,

douglas

On Jan 20, 2009, at 4:07 PM, Mr. Gecko wrote:

Well I'm going to be Tiger and up so I don't know if that's a good idea.

On Jan 20, 2009, at 2:57 PM, Matt Long wrote:

You can add controls to your View in IB and then use a QTMovieLayer to display your movie (assuming you are Leopard only). Just make sure when you add the QTMovieLayer to your view's sub-layers that you use -insertSublayer:atIndex passing it an index of zero. This will keep all of the controls visible in front of the movie.

-Matt



On Jan 20, 2009, at 12:54 PM, Mr. Gecko wrote:

Actually I don't think that would work because it's adding it to the window it self and the window isn't going fullscreen, only my fullscreen NSView is... i could try subclassing QTMovieView sense it's a subclass of NSView and draw my layer on top.

Any suggestions?
Mr. Gecko

On Jan 20, 2009, at 1:21 PM, douglas welton wrote:

Have you tried to use an overlay (child) window like in the Movie Overlay sample code at the ADC site? Alternately, you have the option of displaying your movie in a QTMovieLayer and adding various sublayers to accomplish the effect you want.

On Jan 20, 2009, at 12:58 PM, Mr. Gecko wrote:

hide (shouldn't be too hard). When I tried to add controls over my movie, I placed it on the top layer in my NSView for going full screen, and it doesn't show... When I hide the QTMovieView it shows. But what's the point in having controls if you can't see the movie? Any help?

Thanks,


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com


Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com


Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Draw NSView over QTMovieView
      • From: Andy Lee <email@hidden>
References: 
 >Draw NSView over QTMovieView (From: "Mr. Gecko" <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: douglas welton <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: "Mr. Gecko" <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: Matt Long <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: "Mr. Gecko" <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: douglas welton <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: "Mr. Gecko" <email@hidden>)
 >Re: Draw NSView over QTMovieView (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Draw NSView over QTMovieView
  • Next by Date: Observing edits make to a table using bindings
  • Previous by thread: Re: Draw NSView over QTMovieView
  • Next by thread: Re: Draw NSView over QTMovieView
  • Index(es):
    • Date
    • Thread