     open override func viewDidLoad() {
         super.viewDidLoad()
 
+        self._avplayer.actionAtItemEnd = .pause
+
         if let url = self.url {
             setup(url: url)
         } else if let asset = self.asset {

    }

    public required init?(coder aDecoder: NSCoder) {
        self._avplayer.actionAtItemEnd = .pause
        super.init(coder: aDecoder)
    }

    public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
        self._avplayer.actionAtItemEnd = .pause
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
    }


        if let playerItem = self._playerItem {
            return playerItem.seek(to: time, completionHandler: completionHandler)
        } else {
            self._seekTimeRequested = time
        }
    }

