 
     fileprivate lazy var fullscreenController = FullscreenController(nibName: nil, bundle: nil)
 
-    open var activeContainer: Container?
+    open weak var activeContainer: Container?
 
     open var activePlayback: Playback? {
         return activeContainer?.playback

    }

    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) }
    }

    }

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

