     public required init?(coder aDecoder: NSCoder) {
         self._avplayer = AVPlayer()
         self._avplayer.actionAtItemEnd = .pause
-        
-        self.playbackFreezesAtEnd = false
-        self.playbackPausesWhenBackgrounded = true
-        self.playbackResumesWhenEnteringForeground = true
-        
         self._timeObserver = nil
         
         super.init(coder: aDecoder)

        if Thread.isMainThread {
            closure()
        } else {
            DispatchQueue.main.sync(execute: closure)
        }
    }
    

    }

    deinit {
        self.player?.pause()
        self.player = nil
    }
    
}
