基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
fix ProgressBar
lauirff95c8480e636
diff --git a/lib/pages/player/player_item.dart b/lib/pages/player/player_item.dartindex fe36cf90..15d60c0f 100644--- a/lib/pages/player/player_item.dart+++ b/lib/pages/player/player_item.dart@@ -1623,10 +1623,29 @@ class _PlayerItemState extends State<PlayerItem>total: playerController.duration,onSeek: (duration) {playerTimer?.cancel();+playerController.currentPosition = duration;playerController.seek(duration);playerTimer = getPlayerTimer(); //Bug_time},+ onDragStart: (details){playerController.pause();hideTimer?.cancel();},+ onDragUpdate: (details) => {setState(() {+ showPositioned=true;+ playerController.currentPosition = details.timeStamp;+ })},+ onDragEnd: () {+ playerController.play();+ hideTimer =+ Timer(const Duration(seconds: 4), () {+ if (mounted) {+ setState(() {+ showPositioned = false;+ });+ _animationController.reverse();+ }+ hideTimer = null;+ });+ },),),((Utils.isCompact()) &&