Merge pull request #384 from orz12/opt-hidden-repeat-progressbar

opt: 控制条与常驻进度条互斥
This commit is contained in:
guozhigq
2024-01-07 21:09:37 +08:00
committed by GitHub

View File

@ -596,6 +596,9 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
final int value = _.sliderPositionSeconds.value;
final int max = _.durationSeconds.value;
final int buffer = _.bufferedSeconds.value;
if (_.showControls.value) {
return Container();
}
if (defaultBtmProgressBehavior ==
BtmProgresBehavior.alwaysHide.code) {
return nil;