Skip to content

Commit

Permalink
v1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
changsanjiang committed Feb 1, 2018
1 parent d0639ee commit 98bc67b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions SJVideoPlayer/Player/SJVideoPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,14 @@ - (void)gesturesHandleWithTargetView:(UIView *)targetView {
self.userClickedPause = YES;
}
break;
case SJVideoPlayerPlayState_Pause:
case SJVideoPlayerPlayState_PlayEnd: {
case SJVideoPlayerPlayState_Pause: {
[self play];
self.userClickedPause = NO;
}
break;
case SJVideoPlayerPlayState_PlayEnd: {
[self jumpedToTime:0 completionHandler:^(BOOL finished) {
[self play];
}];
}
break;
case SJVideoPlayerPlayState_PlayFailed:
Expand Down
Binary file modified SJVideoPlayerProject/.DS_Store
Binary file not shown.
Binary file not shown.

0 comments on commit 98bc67b

Please sign in to comment.