 
         if let container = containers.first {
             setActiveContainer(container)
-            mediaControl.setup(container)
+            mediaControl?.setup(container)
         }
     }
 

    }

    fileprivate func bindEventListeners() {
        listenTo(mediaControl, eventName: Event.requestFullscreen.rawValue) { [weak self] (userInfo: EventUserInfo) in self?.enterFullscreen(userInfo) }
        listenTo(mediaControl, eventName: Event.exitFullscreen.rawValue) { [weak self] (userInfo: EventUserInfo) in self?.exitFullscreen(userInfo) }
    }

open class Core: UIBaseObject, UIGestureRecognizerDelegate {
    fileprivate(set) open var options: Options
    fileprivate(set) open var containers: [Container] = []
    fileprivate(set) open var mediaControl: MediaControl?
    fileprivate(set) open var plugins: [UICorePlugin] = []

    open var parentController: UIViewController?
