mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 16:16:14 +08:00
opt: videopage: didpop
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -425,7 +425,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
// final bool autoplay = autoPlayEnable;
|
// final bool autoplay = autoPlayEnable;
|
||||||
videoDetailController.autoPlay.value =
|
videoDetailController.autoPlay.value =
|
||||||
!videoDetailController.isShowCover.value;
|
!videoDetailController.isShowCover.value;
|
||||||
if (videoDetailController.videoUrl != null) {
|
if (videoDetailController.isShowCover.value.not) {
|
||||||
await videoDetailController.playerInit(
|
await videoDetailController.playerInit(
|
||||||
autoplay: videoDetailController.playerStatus == PlayerStatus.playing,
|
autoplay: videoDetailController.playerStatus == PlayerStatus.playing,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user