merge design
This commit is contained in:
@ -106,6 +106,7 @@ class PlPlayerController {
|
||||
];
|
||||
|
||||
PreferredSizeWidget? headerControl;
|
||||
PreferredSizeWidget? bottomControl;
|
||||
Widget? danmuWidget;
|
||||
|
||||
/// 数据加载监听
|
||||
@ -828,6 +829,7 @@ class PlPlayerController {
|
||||
child: PLVideoPlayer(
|
||||
controller: this,
|
||||
headerControl: headerControl,
|
||||
bottomControl: bottomControl,
|
||||
danmuWidget: danmuWidget,
|
||||
),
|
||||
),
|
||||
@ -879,6 +881,9 @@ class PlPlayerController {
|
||||
if (!_enableHeart) {
|
||||
return false;
|
||||
}
|
||||
if (videoType.value == 'live') {
|
||||
return;
|
||||
}
|
||||
// 播放状态变化时,更新
|
||||
if (type == 'status') {
|
||||
await VideoHttp.heartBeat(
|
||||
|
Reference in New Issue
Block a user