Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-18 12:10:31 +08:00
parent ed39624476
commit 68e302b5d7

View File

@@ -1786,10 +1786,16 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
child: ViewPointSegmentProgressBar( child: ViewPointSegmentProgressBar(
segments: videoDetailController.viewPointList, segments: videoDetailController.viewPointList,
onSeek: PlatformUtils.isMobile onSeek: PlatformUtils.isMobile
? (position) => plPlayerController.seekTo( ? (position) {
if (!plPlayerController
.controlsLock
.value) {
plPlayerController.seekTo(
position, position,
isSeek: false, isSeek: false,
) );
}
}
: null, : null,
), ),
), ),