 
         setContentCompressionResistancePriority(NSLayoutPriorityDefaultHigh, forOrientation: .Vertical)
         setContentHuggingPriority(NSLayoutPriorityDefaultHigh, forOrientation: .Vertical)
+
+        observePlayer()
     }
 
     required init?(coder: NSCoder) {


class MovieOverviewControl: NSView {
    var player: AVPlayer? {
        didSet { reload() }
    }
    var imageGenerator: AVAssetImageGenerator?
    var numberOfPages: UInt = 0 {

            let pageRect = NSRect(x: CGFloat(i) * cellWidth, y: 0, width: cellWidth, height: bounds.height)
            t.drawInRect(pageRect)
        }

        if let currentTimePercent = currentTimePercent {
            NSColor.redColor().setFill()
            NSRectFillUsingOperation(NSRect(x: currentTimePercent * bounds.width, y: 0, width: 1, height: bounds.height), .CompositeCopy)
        }
    }

    override func mouseDown(theEvent: NSEvent) {
