         
         self.destroyPlayer()
         
-        let playerItem : AVPlayerItem = AVPlayerItem(URL: self.URL!)
-        
-        let player : AVPlayer = AVPlayer(playerItem: playerItem)
+        playerItem = AVPlayerItem(URL: self.URL!)
+        
+        let player : AVPlayer = AVPlayer(playerItem: playerItem!)
         player.actionAtItemEnd = AVPlayerActionAtItemEnd.None
         player.volume = self.volume
         self.player = player;

        }
    }
    
    // -------------------------------------------------------------
    
    // MARK: - Initializing

    
    var player : AVPlayer?
//    var playerLayer : AVPlayerLayer?
    var playerItem : AVPlayerItem?
    
    var actionButton : UIButton?
    
