opt slider

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-25 15:35:29 +08:00
parent fd55383778
commit 86e52eec4c
3 changed files with 8 additions and 3 deletions

View File

@@ -1607,6 +1607,7 @@ class PlPlayerController {
videoShot = {'status': false};
}
} catch (e) {
videoShot = {'status': false};
debugPrint('getVideoShot: $e');
}
_isQueryingVideoShot = false;

View File

@@ -1796,7 +1796,9 @@ Widget buildSeekPreviewWidget(PlPlayerController plPlayerController) {
return Obx(() {
if (!plPlayerController.showPreview.value ||
plPlayerController.videoShot?['status'] != true) {
plPlayerController.getVideoShot();
if (plPlayerController.videoShot == null) {
plPlayerController.getVideoShot();
}
return SizedBox.shrink(
key: ValueKey(plPlayerController.previewDx.value),
);