         
         {
             self.videoUrl = videoUrl;
-        }()
-    }
-    
-    public init(videoUrlString: String) {
-        self.init();
-        
-        {
-            self.videoUrlString = videoUrlString;
         }()
     }
     

            }
        }
    }
    @IBInspectable public var videoUrlString: String? {
        didSet {
            self.videoUrl = NSURL.init(fileURLWithPath: videoUrlString!)
        }
    }
    @IBInspectable public var muted: Bool = true {
        didSet {
            self.player?.muted = self.muted

                self.player!.muted = self.muted
                NSNotificationCenter.defaultCenter().removeObserver(self)
                NSNotificationCenter.defaultCenter().addObserver(self,
                    selector: "playerItemDidReachEnd:",
                    name: AVPlayerItemDidPlayToEndTimeNotification,
                    object: playerItem)
                self.playerLayer.player = self.player
                self.player!.play()
                self.layoutSubviews()
            }
        }
    }
