mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
@@ -1607,6 +1607,7 @@ class PlPlayerController {
|
||||
videoShot = {'status': false};
|
||||
}
|
||||
} catch (e) {
|
||||
videoShot = {'status': false};
|
||||
debugPrint('getVideoShot: $e');
|
||||
}
|
||||
_isQueryingVideoShot = false;
|
||||
|
||||
@@ -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),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user