 
 class DetailViewController: UIViewController {
 
+    // MARK: - Properties
+    
     @IBOutlet weak var playButton: UIButton!
     @IBOutlet weak var detailDescriptionLabel: UILabel!
 
-    let moviePlayer = AVPlayerViewController()
-
+    let avPlayer = AVPlayerViewController()
 
     var detailItem: AnyObject? {
         didSet {

            self.configureView()
        }
    }

    func configureView() {
        // Update the user interface for the detail item.

                let playerItem = AVPlayerItem.init(URL: NSURL(string: videoURLString)!)
                let player = AVPlayer(playerItem: playerItem)
                
                self.avPlayer.player = player
                //                self.avPlayer.contentURL = NSURL(string: videoURLString)
                self.avPlayer.player?.play()
            }
        })
    }
}

