mod: 视频暂停时,不自动pip issues #379
This commit is contained in:
@ -244,7 +244,10 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
void _handleTransition(String name) {
|
||||
switch (name) {
|
||||
case 'inactive':
|
||||
autoEnterPip();
|
||||
if (plPlayerController != null &&
|
||||
playerStatus == PlayerStatus.playing) {
|
||||
autoEnterPip();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user