Skip to content

Commit

Permalink
Add Mute. v2微调.
Browse files Browse the repository at this point in the history
  • Loading branch information
changsanjiang committed Feb 6, 2018
1 parent e36a145 commit cb00f6f
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions SJVideoPlayer/SJVideoPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ - (instancetype)initWithVideoPlayer:(SJVideoPlayer *)videoPlayer;
- (void)considerDisplay;
- (void)needDisplay;
- (void)needHidden;
- (void)clear;
@end
NS_ASSUME_NONNULL_END

Expand Down Expand Up @@ -1267,6 +1268,10 @@ - (void)needHidden {
[self _callDelegateMethodWithStatus:NO];
}

- (void)clear {
[self.timerControl clear];
}

- (SJTimerControl *)timerControl {
if ( _timerControl ) return _timerControl;
_timerControl = [[SJTimerControl alloc] init];
Expand Down
2 changes: 1 addition & 1 deletion SJVideoPlayer/SJVideoPlayerDefaultControlView.m
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ - (void)loadCompletion:(SJVideoPlayer *)videoPlayer {
/// 控制层需要显示.
- (void)controlLayerNeedAppear:(SJVideoPlayer *)videoPlayer {
[UIView animateWithDuration:0.3 animations:^{
if ( videoPlayer.playOnCell ) {
if ( videoPlayer.playOnCell && !videoPlayer.isFullScreen ) {
if ( videoPlayer.URLAsset.alwaysShowTitle ) [_topControlView appear];
else [_topControlView disappear];
}
Expand Down
Binary file modified SJVideoPlayerProject/.DS_Store
Binary file not shown.
Empty file modified SJVideoPlayerProject/Pods/SJOrentationObserver/LICENSE.md
100755 → 100644
Empty file.
Empty file modified SJVideoPlayerProject/Pods/SJOrentationObserver/README.md
100755 → 100644
Empty file.
Empty file.
Empty file.
Binary file not shown.

0 comments on commit cb00f6f

Please sign in to comment.