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