We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(void)handleScrollStopIfNeed { UITableViewCell *bestCell = [self findTheBestPlayVideoCell]; if(!bestCell){ return; }
// If the found cell is the cell playing video, this situation cannot play video again. if(bestCell == self.playingVideoCell){ return; }
[self.playingVideoCell.jp_videoPlayView jp_stopPlay]; [self playVideoWithCell:bestCell]; }
其实cell是复用的不能根据内存地址判断当前cell是否是playingVideoCell
The text was updated successfully, but these errors were encountered:
cc97464
No branches or pull requests
(void)handleScrollStopIfNeed {
UITableViewCell *bestCell = [self findTheBestPlayVideoCell];
if(!bestCell){
return;
}
// If the found cell is the cell playing video, this situation cannot play video again.
if(bestCell == self.playingVideoCell){
return;
}
[self.playingVideoCell.jp_videoPlayView jp_stopPlay];
[self playVideoWithCell:bestCell];
}
其实cell是复用的不能根据内存地址判断当前cell是否是playingVideoCell
The text was updated successfully, but these errors were encountered: