mod: 视频暂停时,不自动pip issues #379

This commit is contained in:
guozhigq
2024-01-02 23:50:14 +08:00
parent 4ca021711e
commit b7389539d8

View File

@ -244,7 +244,10 @@ class _VideoDetailPageState extends State<VideoDetailPage>
void _handleTransition(String name) {
switch (name) {
case 'inactive':
if (plPlayerController != null &&
playerStatus == PlayerStatus.playing) {
autoEnterPip();
}
break;
}
}