feat: pgc skip

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-08 21:22:02 +08:00
parent 06d8296939
commit ca0eb1716f
13 changed files with 232 additions and 94 deletions

View File

@@ -682,6 +682,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
final int quality = item.quality!;
final newQa = VideoQuality.fromCode(quality);
videoDetailController
..plPlayerController.cacheVideoQa = newQa.code
..currentVideoQa.value = newQa
..updatePlayer();
@@ -1756,7 +1757,8 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
Obx(() {
if (plPlayerController.dataStatus.loading ||
plPlayerController.isBuffering.value) {
(plPlayerController.isBuffering.value &&
plPlayerController.playerStatus.playing)) {
return Center(
child: GestureDetector(
onTap: plPlayerController.refreshPlayer,