Overlay controls a la iTunes and QuickTime

  • Howdy all,

    What would be the best way to implement a HUD-like overlay of controls
    in the same manner as iTunes and QuickTime? These overlays can be seen
    when playing a video in iTunes 8 or a full screen video in (at least)
    the free version of QuickTime.

    Is there example code or open source code that does this?

    Thanks,

    Kiel
  • Le 5 janv. 09 à 06:58, Kiel Gillard a écrit :

    > Howdy all,
    >
    > What would be the best way to implement a HUD-like overlay of
    > controls in the same manner as iTunes and QuickTime? These overlays
    > can be seen when playing a video in iTunes 8 or a full screen video
    > in (at least) the free version of QuickTime.
    >
    > Is there example code or open source code that does this?
    >
    > Thanks,

    http://www.binarymethod.com/content/bghudappkit.php
  • Le 6 janv. 09 à 10:53, Jean-Daniel Dupas a écrit :

    >
    > Le 5 janv. 09 à 06:58, Kiel Gillard a écrit :
    >
    >> Howdy all,
    >>
    >> What would be the best way to implement a HUD-like overlay of
    >> controls in the same manner as iTunes and QuickTime? These overlays
    >> can be seen when playing a video in iTunes 8 or a full screen video
    >> in (at least) the free version of QuickTime.
    >>
    >> Is there example code or open source code that does this?
    >>
    >> Thanks,
    >
    > http://www.binarymethod.com/content/bghudappkit.php

    Sorry my answer is not exactly what you ask for. In fact, this
    framework is for the standard HUD window (which is different than the
    iTunes/QuickTime windows).
    If you want to create your own HUD window (like iTunes, ot QT), it's
    not very difficult:
    - Create your window in IB just like you would do with a standard
    window. Change the class of the window to use your custom window
    class  (see http://developer.apple.com/samplecode/RoundTransparentWindow/
      for example).
    - Add your button with image and no title.
    - Of course, you will have to create custom slider for volume, and
    custom progress control if you want to replicate all QuickTime
    controls).