Merge branch 'feature-media_kit' into alpha

This commit is contained in:
guozhigq
2023-10-09 08:24:49 +08:00
4 changed files with 12 additions and 15 deletions

View File

@ -185,6 +185,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
videoIntroController.isPaused = false;
if (_extendNestCtr.position.pixels == 0 && autoplay) {
await Future.delayed(const Duration(milliseconds: 300));
plPlayerController!.seekTo(videoDetailController.defaultST);
plPlayerController?.play();
}
plPlayerController?.addStatusLister(playerListener);

View File

@ -678,9 +678,9 @@ class _HeaderControlState extends State<HeaderControl> {
),
child: Slider(
min: 1,
max: 6,
max: 8,
value: danmakuSpeedVal,
divisions: 10,
divisions: 14,
label: danmakuSpeedVal.toString(),
onChanged: (double val) {
danmakuSpeedVal = val;