 
             mediaControlView.type = .Image
 
-            cell.mediaView.helperImageView.kf_setImageWithURL(imageURL, placeholderImage: nil, optionsInfo: nil, completionHandler: { [weak self] (image, error, cacheType, imageURL) in
+            cell.mediaView.helperImageView.kf_setImageWithURL(imageURL, placeholderImage: nil, optionsInfo: nil, completionHandler: { (image, error, cacheType, imageURL) in
 
                 guard let image = image else {
                     return
                 }
 
                 cell.mediaView.image = image
-                //println("image.size: \(image.size)")
-
-                //cell.mediaView.updateImageViewWithImage(image)
-
-                /*
-                self?.mediaControlView.shareAction = {
-
-                    let info = MonkeyKing.Info(
-                        title: nil,
-                        description: nil,
-                        thumbnail: nil,
-                        media: .Image(image)
-                    )
-
-                    let sessionMessage = MonkeyKing.Message.WeChat(.Session(info: info))
-
-                    let weChatSessionActivity = WeChatActivity(
-                        type: .Session,
-                        message: sessionMessage,
-                        finish: { success in
-                            println("share Image to WeChat Session success: \(success)")
-                        }
-                    )
-                    
-                    let timelineMessage = MonkeyKing.Message.WeChat(.Timeline(info: info))
-                    
-                    let weChatTimelineActivity = WeChatActivity(
-                        type: .Timeline,
-                        message: timelineMessage,
-                        finish: { success in
-                            println("share Image to WeChat Timeline success: \(success)")
-                        }
-                    )
-                    
-                    let activityViewController = UIActivityViewController(activityItems: [image], applicationActivities: [weChatSessionActivity, weChatTimelineActivity])
-                    
-                    self?.presentViewController(activityViewController, animated: true, completion: nil)
-                }
-                */
             })
         }
     }

//                    }
//                }
//            }
        }
    }

    func playerItemDidReachEnd(notification: NSNotification) {

            configureCell(cell, withPreviewMedia: previewMedia)
        }
    }


//    func collectionView(collectionView: UICollectionView, didEndDisplayingCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) {
//        if let cell = cell as? MediaViewCell {
