 	func vision(vision: PBJVision, capturedVideo videoDict: [NSObject : AnyObject]?, error: NSError?) {
 		if error == nil {
 			if let out = videoDict?[PBJVisionVideoPathKey] as? String {
-				if let duration = videoDict?[PBJVisionVideoCapturedDurationKey] as? Double where duration >= 10 {
+				if let duration = videoDict?[PBJVisionVideoCapturedDurationKey] as? Double where duration >= minVideoDuration {
 					host?.recordedSample(NSURL(fileURLWithPath: out))
 				} else {
 					try? NSFileManager.defaultManager().removeItemAtPath(out)


	var transitionStartY: CGFloat = 0.0

	let vision = PBJVision.sharedInstance()
	var timer: NSTimer!


	// MARK: - Recording

	func observeTimerInterval() {
		timerBar.progress = CGFloat(vision.capturedVideoSeconds / maxVideoDuration)

		if timerBar.progress >= 0.5 {
			timerBar.progressTintColor = UIColor.greenColor()
