         
         removeFromSuperview()
     }
-
+    
     open func play() {
         playback?.play()
     }

    open internal(set) var ready = false
    open internal(set) var plugins: [UIContainerPlugin] = []
    open internal(set) var options: Options

    fileprivate var buffering = false
    fileprivate var loader: Loader

    
    open var isPlaying: Bool {
        return playback?.isPlaying ?? false

            trigger(eventToTrigger)
        }
    }
    
    open internal(set) var playback: Playback?
    
    public init(loader: Loader = Loader(), options: Options = [:]) {
        Logger.logDebug("loading with \(options)", scope: "\(type(of: self))")
        self.options = options
