         if(timer != nil) {
             timer.invalidate()
             timer = nil
+            
+            if let theDelegate = self.delegate {
+                theDelegate.interactivePlayerViewDidStopPlaying(self)
+            }
+            
         }
         
     }

    private func startTimer(){
        timer = NSTimer.scheduledTimerWithTimeInterval(0.1, target: self, selector: Selector("updateTime"), userInfo: nil, repeats: true)

    }
    
    private func stopTimer(){

        
    }
    
    
    private func createProgressCircle(){
        
       
