         }
     }
 
-    var isReadyForDisplay: Bool {
+    public var isReadyForDisplay: Bool {
         get {
             return self.playerLayer.isReadyForDisplay
         }


    // MARK: - properties

    var playerLayer: AVPlayerLayer {
        get {
            return self.layer as! AVPlayerLayer
        }
    }

    var player: AVPlayer? {
        get {
            return self.playerLayer.player
        }

    // MARK: - view lifecycle

    open override func loadView() {
        super.loadView()
        self._playerView.frame = self.view.bounds
        self.view = self._playerView
    }
    
