 
     @IBOutlet open weak var airPlayVolumeView: MPVolumeView?
 
-    internal(set) open var container: Container!
+    internal(set) open weak var container: Container?
     internal(set) open var controlsHidden = false
 
     open var bufferPercentage: CGFloat = 0.0

        return 0
    }

    deinit {
        stopListening()
        NotificationCenter.default.removeObserver(self)
    }
}

    }

    open var fullscreenDisabled: Bool {
        return container?.options[kFullscreenDisabled] as? Bool ?? false
    }

    fileprivate var duration: CGFloat {
        return CGFloat(container?.playback?.duration ?? 0.0)
    }

    public required init?(coder aDecoder: NSCoder) {
