     }
     
 }
-
-private extension NSProcessInfo {
-    var isElCapitan: Bool {
-        get {
-            let v = self.operatingSystemVersion
-            return (v.majorVersion == 10 && v.minorVersion >= 11)
-        }
-    }
-}
-
-private extension LiveEvent {
-    var appropriateURL: NSURL? {
-        get {
-            if NSProcessInfo.processInfo().isElCapitan && stream2 != nil {
-                return stream2
-            } else {
-                return stream
-            }
-        }
-    }
-}

            transcriptWC = TranscriptWindowController(session: session)
            transcriptWC.showWindow(sender)
            transcriptWC.jumpToTimeCallback = { [unowned self] time in
                if let player = self.player {
                    player.seekToTime(CMTimeMakeWithSeconds(time, 30))
                }
            }
            transcriptWC.transcriptReadyCallback = { [unowned self] transcript in
                self.setupTranscriptSync(transcript)

    var timeObserver: AnyObject?
    
    func setupTimeObserver() {
        guard session != nil else { return }
        
        timeObserver = player?.addPeriodicTimeObserverForInterval(CMTimeMakeWithSeconds(5, 1), queue: dispatch_get_main_queue()) { [unowned self] currentTime in
            let progress = Double(CMTimeGetSeconds(currentTime)/CMTimeGetSeconds(self.player!.currentItem!.duration))
