diff --git a/ALMoviePlayerController/ALMoviePlayerControls.m b/ALMoviePlayerController/ALMoviePlayerControls.m index 57da47b..bf91274 100644 --- a/ALMoviePlayerController/ALMoviePlayerControls.m +++ b/ALMoviePlayerController/ALMoviePlayerControls.m @@ -179,6 +179,7 @@ - (void)setup { _playPauseButton = [[ALButton alloc] init]; [_playPauseButton setImage:[UIImage imageNamed:@"moviePause.png"] forState:UIControlStateNormal]; [_playPauseButton setImage:[UIImage imageNamed:@"moviePlay.png"] forState:UIControlStateSelected]; + [_playPauseButton setSelected:YES]; [_playPauseButton addTarget:self action:@selector(playPausePressed:) forControlEvents:UIControlEventTouchUpInside]; _playPauseButton.delegate = self; [_bottomBar addSubview:_playPauseButton]; @@ -599,7 +600,7 @@ - (void)layoutSubviews { CGFloat barHeight = 50.f; CGFloat sliderHeight = 34.f; //default height CGFloat volumeHeight = 20.f; - CGFloat volumeWidth = 120.f; + CGFloat volumeWidth = isIpad() ? 210.f : 120.f; CGFloat seekWidth = 36.f; CGFloat seekHeight = 20.f; CGFloat airplayWidth = 30.f;