             if let player = videoView!.player() {
                 if (player.status == .ReadyToPlay && shouldPlay) {
                     player.play()
+                    self.progressIndicator.hidden = true
                 } else if player.status == .ReadyToPlay {
                     player.pause()
                 }


    }


    func downloadData(){
        var session = NSURLSession(configuration: NSURLSessionConfiguration.defaultSessionConfiguration(), delegate: self, delegateQueue: nil)
        self.progressIndicator.hidden = false
        self.progressIndicator.progress = 0.000001
        self.previewImageView.image = nil
        task = session.dataTaskWithURL(NSURL(string:self.gifUrl!)!)
        task!.resume()
    }

    override func observeValueForKeyPath(keyPath: String, ofObject object: AnyObject, change: [NSObject : AnyObject], context: UnsafeMutablePointer<Void>) {
        if (self.videoView!.player()!.status == .ReadyToPlay && self.shouldPlay) {
            self.videoView!.player()!.play()
            self.progressIndicator.hidden = true
        }
    }
    
