Skip to content

Commit

Permalink
revert stop, remove playing, get volume/brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Jul 26, 2024
1 parent da139be commit 06bcb55
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/plugin/pl_player/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -894,16 +894,16 @@ class PlPlayerController {

if (repeat) {
SmartDialog.showToast("stoping");
// await seekTo(Duration.zero);
await _videoPlayerController?.stop();
await seekTo(Duration.zero);
// await _videoPlayerController?.stop();
SmartDialog.showToast("stopped");
}
playerStatus.status.value = PlayerStatus.playing;
// playerStatus.status.value = PlayerStatus.playing;
await _videoPlayerController?.play();
// if (!playerStatus.playing) await _videoPlayerController?.playOrPause();

getCurrentVolume();
getCurrentBrightness();
// getCurrentVolume();
// getCurrentBrightness();

// screenManager.setOverlays(false);
}
Expand Down

0 comments on commit 06bcb55

Please sign in to comment.