     internal func playerItemDidPlayToEndTime(_ aNotification: Notification) {
         if self.playbackLoops == true {
             self.delegate?.playerWillComeThroughLoop?(self)
-            self.avplayer.seek(to: kCMTimeZero)
+            self._avplayer.seek(to: kCMTimeZero)
         } else {
             if self.playbackFreezesAtEnd == true {
                 self.stop()
             } else {
-                self.avplayer.seek(to: kCMTimeZero, completionHandler: { _ in
+                self._avplayer.seek(to: kCMTimeZero, completionHandler: { _ in
                     self.stop()
                 })
             }

            return
        }

        self.avplayer.pause()
        self.playbackState = .paused
    }



    public func playFromBeginning() {
        self.delegate?.playerPlaybackWillStartFromBeginning?(self)
        self._avplayer.seek(to: kCMTimeZero)
        self.playFromCurrentTime()
    }

    public func playFromCurrentTime() {
        self.playbackState = .playing
        self._avplayer.play()
    }

    public func pause() {
