• 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: lion/mt. lion: preventing qtmovieview from taking key strokes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lion/mt. lion: preventing qtmovieview from taking key strokes


  • Subject: Re: lion/mt. lion: preventing qtmovieview from taking key strokes
  • From: Eric Wing <email@hidden>
  • Date: Sat, 15 Sep 2012 16:28:38 -0700

On 9/15/12, Matthew Weinstein <email@hidden> wrote:
> Dear programmers,
> I have a window with a nstextview and a qtmovieview.. The problem is that
> the movieview steals all of the keystrokes so the left and right arrow keys
> never make it to the nstextview. I have tried subclassing qtmovieview and
> capturing keydown and keyup, but that didn't work... Has any one found a way
> to prevent keystrokes from going to the movieview or how do I redirect
> them?
>
I don't know about this one, but QTMovieView has given me many
problems over the years. And in my opinion, the writing is on the wall
that QTKit's days are over.

I think you may be better off moving to AVFoundation and put an
AVPlayerLayer in a host NSView. Then you should be able to make the
host NSView do anything you want. (Presumably, you could also do the
same with a QTMovieLayer, but I reiterate, I think QTKit isn't a good
thing for new code moving forward.)

-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________

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: lion/mt. lion: preventing qtmovieview from taking key strokes
      • From: Matthew Weinstein <email@hidden>
References: 
 >lion/mt. lion: preventing qtmovieview from taking key strokes (From: Matthew Weinstein <email@hidden>)

  • Prev by Date: Re: Dynamic Method Creation
  • Next by Date: Re: Dynamic Method Creation
  • Previous by thread: lion/mt. lion: preventing qtmovieview from taking key strokes
  • Next by thread: Re: lion/mt. lion: preventing qtmovieview from taking key strokes
  • Index(es):
    • Date
    • Thread