     }
     
     private func containerReady() {
+        livePlayback = container.playback.type() == .Live
         updatePlaybackControlButtonIcon()
         durationLabel.text = DateFormatter.formatSeconds(container.playback.duration())
     }

    public internal(set) var container: Container!
    public internal(set) var controlsHidden = false
    
    private var bufferPercentage:CGFloat = 0.0
    private var seekPercentage:CGFloat = 0.0
    private var scrubberInitialPosition: CGFloat!
    private var hideControlsTimer: NSTimer!
    private var enabled: Bool = false
    
    public var playbackControlState: PlaybackControlState = .Stopped {
        didSet {


    @IBAction func togglePlay(sender: UIButton) {
        if playbackControlState == .Playing {
            livePlayback ? stop() : pause()
        } else {
            play()
            scheduleTimerToHideControls()
