 
 open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
 
-    override var view: UIView {
+    override open var view: UIView {
         didSet {
             addSubview(view)
             view.addSubview(container)


    public var plugins: [MediaControlPlugin] = []

    override var pluginName: String {
        return "MediaControl"
    }

    var hideControlsTimer: Timer?
    var animationDuration = 0.3
    var secondsToHideControlFast: TimeInterval = 0.4
    var secondsToHideControlSlow: TimeInterval = 4

        }
    }

    public func disappearAfterSomeTime(_ duration: TimeInterval? = nil) {
        hideControlsTimer?.invalidate()
        hideControlsTimer = Timer.scheduledTimer(timeInterval: duration ?? secondsToHideControlFast,
                                                 target: self, selector: #selector(MediaControl.hideAndStopTimer), userInfo: nil, repeats: false)
    }

    public func keepVisible() {
        hideControlsTimer?.invalidate()
    }

