Bugfix: Video was paused when started
This commit is contained in:
parent
69f424e71c
commit
f278eaf74d
|
@ -60,6 +60,9 @@ public class VideoplayerActivity extends MediaplayerActivity {
|
|||
if (videoControlsToggler != null) {
|
||||
videoControlsToggler.cancel(true);
|
||||
}
|
||||
if (controller != null && controller.getStatus() == PlayerStatus.PLAYING) {
|
||||
controller.pause();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -152,9 +152,6 @@ public abstract class PlaybackController {
|
|||
*/
|
||||
public void pause() {
|
||||
mediaInfoLoaded = false;
|
||||
if (playbackService != null && PlaybackService.getCurrentMediaType() == MediaType.VIDEO) {
|
||||
playbackService.pause(true, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue