mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 20:48:40 +00:00
chore: update dep
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -543,11 +543,8 @@ class PlPlayerController {
|
|||||||
callback?.call();
|
callback?.call();
|
||||||
// 获取视频时长 00:00
|
// 获取视频时长 00:00
|
||||||
_duration.value = duration ?? _videoPlayerController!.state.duration;
|
_duration.value = duration ?? _videoPlayerController!.state.duration;
|
||||||
_position.value =
|
_sliderPosition.value = seekTo ?? Duration.zero;
|
||||||
_sliderPosition.value = _buffered.value = seekTo ?? Duration.zero;
|
|
||||||
updateDurationSecond();
|
updateDurationSecond();
|
||||||
updatePositionSecond();
|
|
||||||
updateBufferedSecond();
|
|
||||||
updateSliderPositionSecond();
|
updateSliderPositionSecond();
|
||||||
// 数据加载完成
|
// 数据加载完成
|
||||||
dataStatus.status.value = DataStatus.loaded;
|
dataStatus.status.value = DataStatus.loaded;
|
||||||
@@ -754,7 +751,7 @@ class PlPlayerController {
|
|||||||
play: false,
|
play: false,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
player.open(
|
await player.open(
|
||||||
Media(dataSource.videoSource!,
|
Media(dataSource.videoSource!,
|
||||||
httpHeaders: dataSource.httpHeaders, start: seekTo),
|
httpHeaders: dataSource.httpHeaders, start: seekTo),
|
||||||
play: false,
|
play: false,
|
||||||
|
|||||||
@@ -1204,7 +1204,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: media_kit_video
|
path: media_kit_video
|
||||||
ref: "version_1.3.0"
|
ref: "version_1.3.0"
|
||||||
resolved-ref: "961752a300c67580a976874a604e4129f78a208c"
|
resolved-ref: "1b1b1b697f5a1bc9d1b98ffb5d0d5c6fb8a4d8b2"
|
||||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||||
source: git
|
source: git
|
||||||
version: "1.3.0"
|
version: "1.3.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user