Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-26 11:39:56 +08:00
parent 8e99ff1173
commit 41f251ad50
8 changed files with 59 additions and 39 deletions

View File

@@ -777,7 +777,6 @@ class PlPlayerController {
}
Future<bool> refreshPlayer() async {
Duration currentPos = _position.value;
if (_videoPlayerController == null) {
SmartDialog.showToast('视频播放器为空,请重新进入本页面');
return false;
@@ -800,7 +799,7 @@ class PlPlayerController {
Media(
dataSource.videoSource!,
httpHeaders: dataSource.httpHeaders,
start: currentPos,
start: _position.value,
),
play: true,
);