opt: dm widget

Closes #160
Closes #515

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-24 13:44:54 +08:00
parent 79d0d314f5
commit 95fa19f121
3 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,6 @@ class Request {
await Request().post(Api.activateBuvidApi, await Request().post(Api.activateBuvidApi,
data: {'payload': jsonData}, data: {'payload': jsonData},
options: Options(contentType: Headers.jsonContentType)); options: Options(contentType: Headers.jsonContentType));
;
} catch (e) { } catch (e) {
log("setCookie, $e"); log("setCookie, $e");
} }

View File

@@ -928,14 +928,15 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
subtitleViewConfiguration: subtitleViewConfiguration:
plPlayerController.subtitleViewConfiguration, plPlayerController.subtitleViewConfiguration,
fit: plPlayerController.videoFit.value, fit: plPlayerController.videoFit.value,
dmWidget: widget.danmuWidget,
), ),
), ),
), ),
), ),
/// 弹幕面板 // /// 弹幕面板
if (widget.danmuWidget != null) // if (widget.danmuWidget != null)
Positioned.fill(top: 4, child: widget.danmuWidget!), // Positioned.fill(top: 4, child: widget.danmuWidget!),
/// 长按倍速 toast /// 长按倍速 toast
Obx( Obx(

View File

@@ -1212,7 +1212,7 @@ packages:
description: description:
path: media_kit_video path: media_kit_video
ref: "version_1.2.5" ref: "version_1.2.5"
resolved-ref: cb6fd7e49c30433140001cd19e4e9a8e03c14249 resolved-ref: d7caa6189645ed5e4b9b4992679c290ddf117afd
url: "https://github.com/bggRGjQaUbCoE/media-kit.git" url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
source: git source: git
version: "1.2.5" version: "1.2.5"