     }
 
     fileprivate func renderInContainerView() {
-        mediaControl.fullscreen = false
+        mediaControl?.fullscreen = false
         parentView?.addSubviewMatchingConstraints(self)
     }
 


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


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?
