refactor progress bar

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-26 12:45:41 +08:00
parent 2ba6f0d063
commit a623ceee47
12 changed files with 263 additions and 391 deletions

View File

@@ -650,9 +650,7 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
videoDetailCtr.data.timeLength ??
videoDetailCtr
.plPlayerController
.duration
.value
.inMilliseconds;
.durationInMilliseconds;
if (duration > 0) {
final ytbId = youtubeRegExp
.firstMatch(matchStr)