         )
     }()
 
-    deinit {
-        NotificationCenter.default.removeObserver(self)
-    }
-
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
         // Dispose of any resources that can be recreated.

        createMoviePlayerView()

        layoutMoviePlayerView()

        registerNotification()
    }

    func createMoviePlayerView() {


        dismiss(animated: true)
    }
}

extension MovieViewController: MoviePlayerViewDataSource {
