mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-03 00:29:42 +08:00
mod: playInit autoplay 逻辑
This commit is contained in:
@@ -371,7 +371,7 @@ class VideoDetailController extends GetxController
|
||||
audio,
|
||||
seekToTime,
|
||||
duration,
|
||||
bool autoplay = true,
|
||||
bool? autoplay,
|
||||
}) async {
|
||||
await plPlayerController.setDataSource(
|
||||
DataSource(
|
||||
@@ -400,7 +400,7 @@ class VideoDetailController extends GetxController
|
||||
bvid: bvid,
|
||||
cid: cid.value,
|
||||
enableHeart: enableHeart,
|
||||
autoplay: autoplay,
|
||||
autoplay: autoplay ?? autoPlay.value,
|
||||
);
|
||||
|
||||
_initSkip();
|
||||
|
||||
Reference in New Issue
Block a user