mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +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