         let autolayout = view.northLayoutFormat(["p": 8], [
             "player": playerView,
             "overview": overview,
-            "play": playButton,
             "startFrame": startFrameView,
             "startLabel": startLabel,
             "startMinus": startMinusButton,

        startTime = CMTimeAdd(startTime, minFrameDuration)
        endTime = CMTimeAdd(endTime, minFrameDuration)
        updateImages()
        updatePlayButton()
    }

    func onScopeChange(dragging: Bool) {

        player.pause()
    }

    @objc private func playOrPause() {
        if player.rate == 0 {
            play()
        } else {
            pause()
        }
    }

    override func observeValueForKeyPath(keyPath: String?, ofObject object: AnyObject?, change: [String : AnyObject]?, context: UnsafeMutablePointer<Void>) {
        switch (object, keyPath) {
        case (is AVPlayer, _):
            let stopped = (player.rate == 0)
            if stopped {
                player.seekToTime(posterTime, toleranceBefore: kCMTimeZero, toleranceAfter: kCMTimeZero)
            }
            break
        default:
            super.observeValueForKeyPath(keyPath, ofObject: object, change: change, context: context)
